Class OAuthTokenConfiguration
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.jenkins.oauth.token.OAuthTokenConfiguration
-
- All Implemented Interfaces:
Action
,Describable<OAuthGlobalConfiguration>
,ModelObject
public class OAuthTokenConfiguration extends Object implements Action, Describable<OAuthGlobalConfiguration>
-
-
Field Summary
Fields Modifier and Type Field Description static String
REVOKE_BUTTON_NAME
-
Constructor Summary
Constructors Constructor Description OAuthTokenConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kohsuke.stapler.HttpResponse
doRevoke(org.kohsuke.stapler.StaplerRequest request)
Descriptor<OAuthGlobalConfiguration>
getDescriptor()
String
getDisplayName()
String
getIconFileName()
List<DisplayAccessToken>
getTokens()
String
getUrlName()
-
-
-
Field Detail
-
REVOKE_BUTTON_NAME
public static final String REVOKE_BUTTON_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
doRevoke
public org.kohsuke.stapler.HttpResponse doRevoke(org.kohsuke.stapler.StaplerRequest request)
-
getDescriptor
public Descriptor<OAuthGlobalConfiguration> getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<OAuthGlobalConfiguration>
-
getDisplayName
@CheckForNull public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
@CheckForNull public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getTokens
public List<DisplayAccessToken> getTokens()
-
getUrlName
@CheckForNull public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
-