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 a Series for a TaskExecution with settings.
  • Constructor Details

    • SeriesDefinition

      public SeriesDefinition(String extensionName)
      Creates a new SeriesDefinition instance.
      Parameters:
      extensionName - the unique extensionName, there must be a SeriesFactory for this extensionName.
      Since:
      taskplanner 3.0
    • SeriesDefinition

      public SeriesDefinition(String extensionName, @Nullable @Nullable Map<String,String> properties)
      Creates a new SeriesDefinition instance.
      Parameters:
      extensionName - the unique extensionName, there must be a SeriesFactory for this extensionName.
      properties - the initial properties to be set, null will have no effect
      Since:
      taskplanner 3.0
  • Method Details

    • copyDefinition

      @Nonnull public @Nonnull SeriesDefinition copyDefinition()
      Makes a deep copy of this definition.
      Specified by:
      copyDefinition in class AbstractDefinition<SeriesDefinition>
      Returns:
      a deep copy of this definition.
    • setCachedKeys

      public void setCachedKeys(Set<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 Set<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