Record Class PkiOperation.ActivateProfile
java.lang.Object
java.lang.Record
zeroecho.pki.application.PkiOperation.ActivateProfile
- Record Components:
profileId- nonblank logical profile identifierprofileVersion- positive imported profile version
- All Implemented Interfaces:
PkiOperation
- Enclosing interface:
PkiOperation
public static record PkiOperation.ActivateProfile(String profileId, long profileVersion)
extends Record
implements PkiOperation
Activates one imported profile version.
-
Nested Class Summary
Nested classes/interfaces inherited from interface PkiOperation
PkiOperation.ActivateProfile, PkiOperation.CompleteCredentialConfirmationProof, PkiOperation.HoldCredential, PkiOperation.ImportRequest, PkiOperation.InspectAlgorithmBinding, PkiOperation.InspectAuthority, PkiOperation.InspectCredential, PkiOperation.InspectIssuerChainPath, PkiOperation.InspectIssuerGeneration, PkiOperation.InspectProfile, PkiOperation.InspectPublication, PkiOperation.InspectRequest, PkiOperation.InspectRevocation, PkiOperation.InspectStatus, PkiOperation.InspectStatusSchedule, PkiOperation.IssueCredentialConfirmationChallenge, PkiOperation.ListAlgorithmBindings, PkiOperation.ListAuthorities, PkiOperation.ListIssuerChainPaths, PkiOperation.ListIssuerGenerations, PkiOperation.ListPendingCredentialConfirmations, PkiOperation.ListProfiles, PkiOperation.ListProfileVersions, PkiOperation.ListPublications, PkiOperation.ListRequests, PkiOperation.ListStatus, PkiOperation.ListStatusSchedules, PkiOperation.ProcessPublication, PkiOperation.QueryAuthorityMetrics, PkiOperation.QueryCertificateMetrics, PkiOperation.QueryPublicationMetrics, PkiOperation.QueryRevocationMetrics, PkiOperation.QueryServerMetrics, PkiOperation.ReadRevocationHistory, PkiOperation.ReconcilePublication, PkiOperation.RegisterIssuerChainPath, PkiOperation.RegisterProfile, PkiOperation.RegisterPublication, PkiOperation.RetryPublication, PkiOperation.RevokeCredential, PkiOperation.RevokePendingCredentialConfirmation, PkiOperation.SearchCredentials, PkiOperation.SelectIssuancePath, PkiOperation.SetStatusSchedule, PkiOperation.SnapshotRevocations, PkiOperation.TransitionAuthority, PkiOperation.UnholdCredential, PkiOperation.ValidateAlgorithmBindings, PkiOperation.ValidateConfiguration, PkiOperation.ValidateProfile, PkiOperation.VerifyRequest -
Field Summary
FieldsFields inherited from interface PkiOperation
MAXIMUM_RESULT_ENTRIES -
Constructor Summary
ConstructorsConstructorDescriptionActivateProfile(String profileId, long profileVersion) Validates the identity. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the stable semantic operation name.Returns the value of theprofileIdrecord component.longReturns the value of theprofileVersionrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NAME
-
-
Constructor Details
-
ActivateProfile
Validates the identity.
-
-
Method Details
-
name
Description copied from interface:PkiOperationReturns the stable semantic operation name.- Specified by:
namein interfacePkiOperation- Returns:
- stable semantic operation name
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
profileId
-
profileVersion
public long profileVersion()Returns the value of theprofileVersionrecord component.- Returns:
- the value of the
profileVersionrecord component
-