Class NameProvider
java.lang.Object
com.cloudbees.jenkins.support.filter.NameProvider
- All Implemented Interfaces:
ExtensionPoint
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class NameProvider
extends Object
implements ExtensionPoint
Strategy for providing a stream of names to anonymize along with an accompanying name generator.
- Since:
- TODO
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Modifier and TypeFieldDescriptionstatic final NameProvider
Provides the names of computers.static final NameProvider
Provides the names of items.static final NameProvider
Provides the names of labels.static final NameProvider
Provides the names of nodes.static final NameProvider
Provides the names of users.static final NameProvider
Provides the names of view. -
Method Summary
-
Field Details
-
ITEMS
Provides the names of items. -
VIEWS
Provides the names of view. -
NODES
Provides the names of nodes. -
COMPUTERS
Provides the names of computers. -
USERS
Provides the names of users. -
LABELS
Provides the names of labels. Note that this extension is given a lower priority than the others to avoid naming conflicts between labels and nodes/computers.
-
-
Method Details
-
names
- Returns:
- a stream of names to anonymize
-
generateFake
- Returns:
- a new fake name to use for anonymization
-
all
- Returns:
- all registered NameProviders
-