Class NodeRemoteDirectoryComponent
java.lang.Object
com.cloudbees.jenkins.support.api.Component
com.cloudbees.jenkins.support.api.ObjectComponent<T>
com.cloudbees.jenkins.support.impl.DirectoryComponent<Computer>
com.cloudbees.jenkins.support.impl.NodeRemoteDirectoryComponent
- All Implemented Interfaces:
ExtensionPoint
,Describable<ObjectComponent<Computer>>
,Serializable
@Extension
public class NodeRemoteDirectoryComponent
extends DirectoryComponent<Computer>
implements Serializable
- Author:
- Allan Burdajewicz
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudbees.jenkins.support.impl.DirectoryComponent
DirectoryComponent.DirectoryComponentsDescriptor<T extends AbstractModelObject>, DirectoryComponent.DirGlobScanner
Nested classes/interfaces inherited from class com.cloudbees.jenkins.support.api.Component
Component.ComponentCategory
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionNodeRemoteDirectoryComponent
(String includes, String excludes, boolean defaultExcludes, int maxDepth) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addContents
(Container container, Computer item) Add contents from a specific item to a containerSpecify in whichComponent.ComponentCategory
the current component is related.boolean
isApplicable
(Computer item) Return if this component is applicable to a specific item.Methods inherited from class com.cloudbees.jenkins.support.impl.DirectoryComponent
getDefaultExcludes, getExcludes, getIncludes, getMaxDepth, getRequiredPermissions, list, setDefaultExcludes, setExcludes, setIncludes, setMaxDepth
Methods inherited from class com.cloudbees.jenkins.support.api.ObjectComponent
addContents, allInstances, for_, isApplicable, isSelectedByDefault
Methods inherited from class com.cloudbees.jenkins.support.api.Component
getDisplayPermissions, getId, isEnabled, isSelectedByDefault, start
-
Constructor Details
-
NodeRemoteDirectoryComponent
public NodeRemoteDirectoryComponent() -
NodeRemoteDirectoryComponent
-
-
Method Details
-
addContents
Description copied from class:ObjectComponent
Add contents from a specific item to a container- Specified by:
addContents
in classObjectComponent<Computer>
- Parameters:
container
- theContainer
item
- the item
-
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
.
-
getDisplayName
- Overrides:
getDisplayName
in classDirectoryComponent<Computer>
-
isApplicable
Description copied from class:ObjectComponent
Return if this component is applicable to a specific item.- Overrides:
isApplicable
in classObjectComponent<Computer>
- Parameters:
item
- the item- Returns:
- true if applicable
-
getDescriptor
Description copied from class:ObjectComponent
- Specified by:
getDescriptor
in interfaceDescribable<ObjectComponent<Computer>>
- Overrides:
getDescriptor
in classDirectoryComponent<Computer>
-