Package com.lpvs.entity.enums
Enum Class LPVSPullRequestStatus
- All Implemented Interfaces:
Serializable
,Comparable<LPVSPullRequestStatus>
,Constable
Represents the status of a pull request scan in the LPVS system.
Each status corresponds to a specific state or outcome of the scanning process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the scan of the pull request has been completed.Indicates an internal error occurred while posting scan results.Indicates that license issues have been detected in the pull request.Indicates that access to the pull request is not possible.Indicates that the scan of the pull request is scheduled and in progress. -
Method Summary
Modifier and TypeMethodDescriptionGets the string representation of the pull request status.toString()
Returns a string representation of the pull request status.static LPVSPullRequestStatus
Returns the enum constant of this class with the specified name.static LPVSPullRequestStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_ACCESS
Indicates that access to the pull request is not possible. -
ISSUES_DETECTED
Indicates that license issues have been detected in the pull request. -
INTERNAL_ERROR
Indicates an internal error occurred while posting scan results. -
COMPLETED
Indicates that the scan of the pull request has been completed. -
SCANNING
Indicates that the scan of the pull request is scheduled and in progress.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getPullRequestStatus
Gets the string representation of the pull request status.- Returns:
- The string representation of the pull request status.
-
toString
Returns a string representation of the pull request status.- Overrides:
toString
in classEnum<LPVSPullRequestStatus>
- Returns:
- The string representation of the pull request status.
-