Class CustomLogs
java.lang.Object
com.cloudbees.jenkins.support.api.Component
com.cloudbees.jenkins.support.impl.CustomLogs
- All Implemented Interfaces:
ExtensionPoint
Custom Log recorders files from the controller.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.cloudbees.jenkins.support.api.Component
Component.ComponentCategoryNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContents(Container result) Add contents to a containerSpecify in whichComponent.ComponentCategorythe current component is related.Returns the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle.booleanvoidMethods inherited from class com.cloudbees.jenkins.support.api.Component
canBeGeneratedAsync, getDisplayPermissions, getId, isApplicable, isEnabled, start, supersedes
-
Constructor Details
-
CustomLogs
public CustomLogs()
-
-
Method Details
-
getRequiredPermissions
Description copied from class:ComponentReturns the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle. An empty list indicates that any user can include this bundle.- Specified by:
getRequiredPermissionsin classComponent- Returns:
- the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle.
-
getDisplayName
- Specified by:
getDisplayNamein classComponent
-
addContents
Description copied from class:ComponentAdd contents to a container- Specified by:
addContentsin classComponent- Parameters:
result- aContainer
-
getCategory
Description copied from class:ComponentSpecify in whichComponent.ComponentCategorythe current component is related.- Overrides:
getCategoryin classComponent- Returns:
- An enum value of
Component.ComponentCategory.
-
isSelectedByDefault
public boolean isSelectedByDefault()- Overrides:
isSelectedByDefaultin classComponent
-
startCustomHandler
@Initializer(after=SYSTEM_CONFIG_ADAPTED, before=JOB_LOADED) @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void startCustomHandler()
-