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

com.sitewhere.spi.microservice.multitenant.IDatasetTemplate Maven / Gradle / Ivy

There is a newer version: 3.0.13
Show newest version
/*
 * Copyright (c) SiteWhere, LLC. All rights reserved. http://www.sitewhere.com
 *
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */
package com.sitewhere.spi.microservice.multitenant;

import java.util.List;

/**
 * Contains information about a template that can be used to populate a new
 * tenant.
 */
public interface IDatasetTemplate {

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

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

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

    /**
     * Model initializers information.
     */
    public static interface Initializers {

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

	/**
	 * Get event management initializer Groovy script locations.
	 * 
	 * @return
	 */
	List getEventManagement();

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy