Class OutputArtifact

    • Constructor Detail

      • OutputArtifact

        public OutputArtifact()
    • Method Detail

      • setName

        public void setName​(String name)

        The name of the output of an artifact, such as "My App".

        The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

        Output artifact names must be unique within a pipeline.

        Parameters:
        name - The name of the output of an artifact, such as "My App".

        The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

        Output artifact names must be unique within a pipeline.

      • getName

        public String getName()

        The name of the output of an artifact, such as "My App".

        The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

        Output artifact names must be unique within a pipeline.

        Returns:
        The name of the output of an artifact, such as "My App".

        The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

        Output artifact names must be unique within a pipeline.

      • withName

        public OutputArtifact withName​(String name)

        The name of the output of an artifact, such as "My App".

        The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

        Output artifact names must be unique within a pipeline.

        Parameters:
        name - The name of the output of an artifact, such as "My App".

        The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

        Output artifact names must be unique within a pipeline.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object