Package io.jenkins.plugins.casc
Class TokenReloadAction
- java.lang.Object
-
- io.jenkins.plugins.casc.TokenReloadAction
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
,UnprotectedRootAction
@Extension public class TokenReloadAction extends Object implements UnprotectedRootAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static String
CASC_RELOAD_TOKEN_ENV
static Logger
LOGGER
static String
RELOAD_TOKEN_PROPERTY
static String
RELOAD_TOKEN_QUERY_PARAMETER
static String
URL_NAME
-
Constructor Summary
Constructors Constructor Description TokenReloadAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doIndex(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
static boolean
tokenReloadEnabled()
-
-
-
Field Detail
-
LOGGER
public static final Logger LOGGER
-
URL_NAME
public static final String URL_NAME
- See Also:
- Constant Field Values
-
RELOAD_TOKEN_PROPERTY
public static final String RELOAD_TOKEN_PROPERTY
- See Also:
- Constant Field Values
-
RELOAD_TOKEN_QUERY_PARAMETER
public static final String RELOAD_TOKEN_QUERY_PARAMETER
- See Also:
- Constant Field Values
-
CASC_RELOAD_TOKEN_ENV
public static final String CASC_RELOAD_TOKEN_ENV
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIconFileName
@CheckForNull public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
@CheckForNull public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
@CheckForNull public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
doIndex
public void doIndex(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
- Throws:
IOException
-
tokenReloadEnabled
public static boolean tokenReloadEnabled()
-
-