Class SerializableTagConfig

java.lang.Object
org.itsallcode.openfasttrace.gradle.task.config.SerializableTagConfig
All Implemented Interfaces:
Serializable

public class SerializableTagConfig extends Object implements Serializable
Serializable form of a tag configuration used by a Gradle task.
See Also:
  • Constructor Details

    • SerializableTagConfig

      public SerializableTagConfig(TagConfig tagConfig)
      Creates a serializable copy of a tag configuration.
      Parameters:
      tagConfig - configuration to copy
  • Method Details

    • getPaths

      public List<Path> getPaths()
      Returns the configured tag paths.
      Returns:
      the configured paths
    • getCoveredItemArtifactType

      public String getCoveredItemArtifactType()
      Returns the covered requirement artifact type.
      Returns:
      the artifact type
    • getTagArtifactType

      public String getTagArtifactType()
      Returns the tag artifact type.
      Returns:
      the artifact type
    • getCoveredItemNamePrefix

      public String getCoveredItemNamePrefix()
      Returns the covered requirement name prefix.
      Returns:
      the name prefix
    • convert

      public org.itsallcode.openfasttrace.api.importer.tag.config.PathConfig convert()
      Converts this value to an OpenFastTrace path configuration.
      Returns:
      the OpenFastTrace configuration
    • toString

      public String toString()
      Overrides:
      toString in class Object