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.boolean
int
hashCode()
id()
Returns theString
-formatted identifier.role()
Returns the role of the token in a project.toString()
int
weight()
Returns the weight of this object.
-
Constructor Details
-
TokenRegistration
Creates a new instance.
-
-
Method Details
-
id
Description copied from interface:Identifiable
Returns theString
-formatted identifier.- Specified by:
id
in 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
public int weight()Description copied from interface:HasWeight
Returns the weight of this object. -
equals
-
hashCode
public int hashCode() -
toString
-