Class PipelineDefinition<T extends PipelineDefinition<T>>

java.lang.Object
com.lucidworks.apollo.pipeline.PipelineDefinition<T>
All Implemented Interfaces:
com.lucidworks.apollo.common.objects.Entity, com.lucidworks.apollo.common.objects.PossiblyHiddenEntity, Serializable

public abstract class PipelineDefinition<T extends PipelineDefinition<T>> extends Object implements com.lucidworks.apollo.common.objects.Entity, com.lucidworks.apollo.common.objects.PossiblyHiddenEntity, Serializable
Definition of a pipeline (its stages and properties)
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • newId

      public abstract T newId(String id)
      Create a copy of this pipeline with a new id
      Parameters:
      id -
      Returns:
    • getFactory

      public abstract PipelineDefinitionFactory<T> getFactory()
      Return a factory suitable for creating new instances of this class
      Returns:
    • hasId

      public boolean hasId()
      Test if the pipeline has a non-null id
      Returns:
    • getId

      public String getId()
      Specified by:
      getId in interface com.lucidworks.apollo.common.objects.Entity
    • getStageConfigurations

      public List<StageConfig> getStageConfigurations()
    • isUnsafe

      public Boolean isUnsafe()
    • getProperties

      public Map<String,String> getProperties()
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Specified by:
      getAdditionalProperties in interface com.lucidworks.apollo.common.objects.Entity
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object