Class KubernetesVerifiers.VerificationResult
- java.lang.Object
-
- com.google.jenkins.plugins.k8sengine.KubernetesVerifiers.VerificationResult
-
- Enclosing class:
- KubernetesVerifiers
public static class KubernetesVerifiers.VerificationResult extends Object
Represents the result object for verification action. The status field represents whether the verification succeeded. The toString() returns relevant information pertaining to why the status is what it is.
-
-
Constructor Summary
Constructors Constructor Description VerificationResult(String log, boolean status, Manifests.ManifestObject object)
Constructs a newKubernetesVerifiers.VerificationResult
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Manifests.ManifestObject
getManifestObject()
boolean
isVerified()
String
toString()
Get text description of the result.
-
-
-
Constructor Detail
-
VerificationResult
public VerificationResult(String log, boolean status, Manifests.ManifestObject object)
Constructs a newKubernetesVerifiers.VerificationResult
.- Parameters:
log
- Information relevant to why the status is what it is.status
- The status of this verification.object
- TheManifests.ManifestObject
for which this verification was attempted.
-
-
Method Detail
-
isVerified
public boolean isVerified()
- Returns:
- If the Kubernetes object was verified.
-
getManifestObject
public Manifests.ManifestObject getManifestObject()
- Returns:
- The
Manifests.ManifestObject
for which verification was attempted.
-
-