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, Map<String, String> properties) Creates a new SeriesDefinition instance. -
Method Summary
Modifier and TypeMethodDescriptionMakes a deep copy of this definition.Returns the set of keys from the factory that were cached.void
setCachedKeys
(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 aSeriesFactory
for this extensionName.- Since:
- taskplanner 3.0
-
SeriesDefinition
Creates a new SeriesDefinition instance.- Parameters:
extensionName
- the unique extensionName, there must be aSeriesFactory
for this extensionName.properties
- the initial properties to be set,null
will have no effect- Since:
- taskplanner 3.0
-
-
Method Details
-
copyDefinition
Makes a deep copy of this definition.- Specified by:
copyDefinition
in 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
-