Class JenkinsLogs
- java.lang.Object
-
- com.cloudbees.jenkins.support.api.Component
-
- com.cloudbees.jenkins.support.impl.JenkinsLogs
-
- All Implemented Interfaces:
ExtensionPoint
@Extension(ordinal=100.0) public class JenkinsLogs extends Component
Log files from the controller node only.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.cloudbees.jenkins.support.api.Component
Component.ComponentCategory
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description protected static FileFilter
ROTATED_LOGFILE_FILTER
Matches log files and their rotated names, such as "foo.log" or "foo.log.1"
-
Constructor Summary
Constructors Constructor Description JenkinsLogs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addContents(Container result)
Add contents to a containerComponent.ComponentCategory
getCategory()
Specify in whichComponent.ComponentCategory
the current component is related.String
getDisplayName()
Set<Permission>
getRequiredPermissions()
Returns the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle.-
Methods inherited from class com.cloudbees.jenkins.support.api.Component
getDisplayPermissions, getId, isApplicable, isEnabled, isSelectedByDefault, start
-
-
-
-
Field Detail
-
ROTATED_LOGFILE_FILTER
protected static final FileFilter ROTATED_LOGFILE_FILTER
Matches log files and their rotated names, such as "foo.log" or "foo.log.1"
-
-
Method Detail
-
getRequiredPermissions
@NonNull public Set<Permission> getRequiredPermissions()
Description copied from class:Component
Returns 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:
getRequiredPermissions
in classComponent
- Returns:
- the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle.
-
getDisplayName
@NonNull public String getDisplayName()
- Specified by:
getDisplayName
in classComponent
-
addContents
public void addContents(@NonNull Container result)
Description copied from class:Component
Add contents to a container- Specified by:
addContents
in classComponent
- Parameters:
result
- aContainer
-
getCategory
@NonNull public Component.ComponentCategory getCategory()
Description copied from class:Component
Specify in whichComponent.ComponentCategory
the current component is related.- Overrides:
getCategory
in classComponent
- Returns:
- An enum value of
Component.ComponentCategory
.
-
-