Class TokenRegistration
java.lang.Object
com.linecorp.centraldogma.server.metadata.TokenRegistration
- All Implemented Interfaces:
Identifiable, HasWeight
Specifies a registration of a
Token.-
Constructor Summary
ConstructorsConstructorDescriptionTokenRegistration(String appId, ProjectRole role, UserAndTimestamp creation) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionappId()Returns the ID of the application.creation()Returns who creates the token when.booleaninthashCode()id()Returns theString-formatted identifier.role()Returns the role of the token in a project.toString()intweight()Returns the weight of this object.
-
Constructor Details
-
TokenRegistration
Creates a new instance.
-
-
Method Details
-
id
Description copied from interface:IdentifiableReturns theString-formatted identifier.- Specified by:
idin interfaceIdentifiable
-
appId
Returns the ID of the application. -
role
Returns the role of the token in a project. -
creation
Returns who creates the token when. -
weight
-
equals
-
hashCode
-
toString
-