Class IBuildStatus.BuildStatusType

java.lang.Object
com.polarion.alm.builder.model.IBuildStatus.BuildStatusType
All Implemented Interfaces:
Serializable
Enclosing interface:
IBuildStatus

public static final class IBuildStatus.BuildStatusType extends Object implements Serializable
Build status type "enumeration".

Values of this enumeration treat Object.equals(java.lang.Object) and == the same.

Author:
Stepan Roh, Polarion Software
See Also:
  • Field Details

  • Method Details

    • getName

      public String getName()
      Return status type name.

      Same as toString().

      Do not use for comparison, use fromString(String) first.

      Returns:
      name (not null)
    • getLabel

      @NotNull public String getLabel()
      Return localized label of the status
      Returns:
      label
      Since:
      3.9.0
    • isFinished

      public boolean isFinished()
      Returns:
      true if this status means build completition (build is finished), returns false if build is still in progress.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromString

      public static IBuildStatus.BuildStatusType fromString(String s)
      Return enumeration value for given name.

      Comparison is case insensitive.

      Parameters:
      s - name
      Returns:
      proper enumeration value (not null)
      Throws:
      IllegalArgumentException - if name is not known
      See Also: