Interface BuildIdentifier

    • Method Detail

      • getPlanDbId

        Optional<Long> getPlanDbId()
        Returns:
        Id of the plan or empty if N/A.
      • getMasterPlanId

        Optional<Long> getMasterPlanId()
        Returns:
        id of the master plan or empty if plan has no master.
      • getPlanKey

        @NotNull
        @Deprecated
        @NotNull String getPlanKey()
        Deprecated.
        since 5.11, use getTypedPlanKey() instead
        Full plan key (e.g. BAM-MAIN)
        Returns:
        Key for the plan BAM-MAIN
      • getTypedPlanKey

        @NotNull
        @NotNull PlanKey getTypedPlanKey()
        Full plan key (e.g. BAM-MAIN)
        Returns:
        Key for the plan BAM-MAIN
      • getBuildNumber

        int getBuildNumber()
        The build number being built
        Returns:
        int
      • getBuildResultKey

        @NotNull
        @Deprecated
        @NotNull String getBuildResultKey()
        Deprecated.
        since 6.0 use getPlanResultKey() instead
        Full build result key (e.g. BAM-MAIN-100)
        Returns:
        Key for build result
      • getProjectName

        @NotNull
        @NotNull String getProjectName()
      • getUuid

        @NotNull
        @NotNull UUID getUuid()
        Id of the run. Allows to tell apart instances of build if a job is restarted.
        Since:
        9.0 get unique id of the specific run