Class SeriesDefinition
java.lang.Object
com.inet.taskplanner.server.api.common.AbstractDefinition<SeriesDefinition>
com.inet.taskplanner.server.api.series.SeriesDefinition
Definition of a
Series for a TaskExecution with settings.-
Constructor Summary
ConstructorsConstructorDescriptionSeriesDefinition(String extensionName) Creates a new SeriesDefinition instance.SeriesDefinition(String extensionName, @Nullable Map<String, String> properties) Creates a new SeriesDefinition instance. -
Method Summary
Modifier and TypeMethodDescription@Nonnull SeriesDefinitionMakes a deep copy of this definition.Returns the set of keys from the factory that were cached.voidsetCachedKeys(Set<String> cachedKeys) Sets the set of keys from the factory to be cached.Methods inherited from class com.inet.taskplanner.server.api.common.AbstractDefinition
copyDefinitions, equals, getExtensionName, getProperties, getProperty, getUid, hashCode, removeProperty, setProperty, setUid
-
Constructor Details
-
SeriesDefinition
Creates a new SeriesDefinition instance.- Parameters:
extensionName- the unique extensionName, there must be aSeriesFactoryfor this extensionName.- Since:
- taskplanner 3.0
-
SeriesDefinition
Creates a new SeriesDefinition instance.- Parameters:
extensionName- the unique extensionName, there must be aSeriesFactoryfor this extensionName.properties- the initial properties to be set,nullwill have no effect- Since:
- taskplanner 3.0
-
-
Method Details
-
copyDefinition
Makes a deep copy of this definition.- Specified by:
copyDefinitionin classAbstractDefinition<SeriesDefinition>- Returns:
- a deep copy of this definition.
-
setCachedKeys
Sets the set of keys from the factory to be cached.- Parameters:
cachedKeys- the set of keys from the factory.- Since:
- taskplanner 3.0
-
getCachedKeys
Returns the set of keys from the factory that were cached. This set is initially empty and can be filled with key requested from the factory.- Returns:
- the set of keys from the factory.
- Since:
- taskplanner 3.0
-