Class SeriesDefinition
- java.lang.Object
-
- com.inet.taskplanner.server.api.common.AbstractDefinition<SeriesDefinition>
-
- com.inet.taskplanner.server.api.series.SeriesDefinition
-
@JsonData public class SeriesDefinition extends AbstractDefinition<SeriesDefinition>
Definition of aSeries
for aTaskExecution
with settings.
-
-
Constructor Summary
Constructors Constructor Description SeriesDefinition(java.lang.String extensionName)
Creates a new SeriesDefinition instance.SeriesDefinition(java.lang.String extensionName, java.util.Map<java.lang.String,java.lang.String> properties)
Creates a new SeriesDefinition instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SeriesDefinition
copyDefinition()
Makes a deep copy of this definition.java.util.Set<java.lang.String>
getCachedKeys()
Returns the set of keys from the factory that were cached.void
setCachedKeys(java.util.Set<java.lang.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 Detail
-
SeriesDefinition
public SeriesDefinition(java.lang.String extensionName)
Creates a new SeriesDefinition instance.- Parameters:
extensionName
- the unique extensionName, there must be aSeriesFactory
for this extensionName.- Since:
- taskplanner 3.0
-
SeriesDefinition
public SeriesDefinition(java.lang.String extensionName, @Nullable java.util.Map<java.lang.String,java.lang.String> properties)
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 Detail
-
copyDefinition
@Nonnull public SeriesDefinition copyDefinition()
Makes a deep copy of this definition.- Specified by:
copyDefinition
in classAbstractDefinition<SeriesDefinition>
- Returns:
- a deep copy of this definition.
-
setCachedKeys
public void setCachedKeys(java.util.Set<java.lang.String> cachedKeys)
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
public java.util.Set<java.lang.String> 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
-
-