All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sitewhere.spi.server.tenant.ITenantTemplate Maven / Gradle / Ivy

package com.sitewhere.spi.server.tenant;

import java.util.List;

/**
 * Contains information about a template that can be used to populate a new
 * tenant.
 * 
 * @author Derek
 */
public interface ITenantTemplate {

    /**
     * Get unique template id.
     * 
     * @return
     */
    public String getId();

    /**
     * Get display name used in UI.
     * 
     * @return
     */
    public String getName();

    /**
     * Get model initializer information.
     * 
     * @return
     */
    public Initializers getInitializers();

    /**
     * Model initializers information.
     * 
     * @author Derek
     */
    public static interface Initializers {

	/**
	 * Get device management initializer Groovy script locations.
	 * 
	 * @return
	 */
	public List getDeviceManagement();

	/**
	 * Get asset management initializer Groovy script locations.
	 * 
	 * @return
	 */
	public List getAssetManagement();

	/**
	 * Get schedule management initializer Groovy script locations.
	 * 
	 * @return
	 */
	public List getScheduleManagement();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy