@Extension(ordinal=100.0) public class TaskLogs extends Component
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
TaskLogs() |
Modifier and Type | Method and Description |
---|---|
void |
addContents(Container result)
Add contents to a container
|
String |
getDisplayName() |
protected static File |
getLogsRoot()
Returns the root directory for logs (historically always found under
$JENKINS_HOME/logs . |
Set<Permission> |
getRequiredPermissions()
Returns the (possibly empty, never null) list of permissions that are required for the user to include this
in a bundle.
|
boolean |
isSelectedByDefault() |
getDisplayPermissions, getId, isApplicable, isEnabled, start
@NonNull public Set<Permission> getRequiredPermissions()
Component
getRequiredPermissions
in class Component
@NonNull public String getDisplayName()
getDisplayName
in class Component
public boolean isSelectedByDefault()
isSelectedByDefault
in class Component
public void addContents(@NonNull Container result)
Component
addContents
in class Component
result
- a Container
protected static File getLogsRoot()
$JENKINS_HOME/logs
.
Configurable since Jenkins 2.114.SafeTimerTask.LOGS_ROOT_PATH_PROPERTY
Copyright © 2016–2022. All rights reserved.