Interface PlanIdentifier

    • Method Detail

      • getDatabaseId

        @NotNull
        @NotNull Optional<Long> getDatabaseId()
        Returns:
        database id of the plan or empty if this plan is not a DB object.
      • getMasterId

        @Deprecated
        long getMasterId()
        Deprecated.
        since 6.9 use getMasterIdIfExists() instead
        Returns:
        database id of master of this Plan or -1 if none.
      • getMasterIdIfExists

        @NotNull
        @NotNull Optional<Long> getMasterIdIfExists()
        Returns:
        database id of master of this Plan or empty if none.
      • getPlanType

        @NotNull
        @NotNull PlanType getPlanType()
        Returns:
        the type of this plan
      • getBuildKey

        @NotNull
        @NotNull String getBuildKey()
        This objects specific portion of the key. You probably want to use getPlanKey().
        Returns:
        This objects specific portion of the key
      • getName

        @NotNull
        @NotNull String getName()
        Returns the full name for the build in the form of "project name - build name" e.g. "Confluence - HEAD"
        Specified by:
        getName in interface DescriptionProvider
        Specified by:
        getName in interface NameProvider
        Returns:
        String
      • getBuildName

        @NotNull
        @NotNull String getBuildName()
        Returns:
        The plan specific portion of the name (without the project and/or parent's names). You probably want to use getName()
      • isSuspendedFromBuilding

        boolean isSuspendedFromBuilding()
        Checks if the build has been enabled / disabled.
        Returns:
        true if plan is disabled