@Extension public static class RenameAction.TransientActionFactoryImpl extends TransientActionFactory<AbstractItem>
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
TransientActionFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends Action> |
createFor(AbstractItem target)
Creates actions for a given object.
|
Class<AbstractItem> |
type()
The type of object this factory cares about.
|
actionType, factoriesFor
public Class<AbstractItem> type()
TransientActionFactory
TransientActionFactory.createFor(T)
do a check-cast,
so that method bodies are not loaded until actually needed.type
in class TransientActionFactory<AbstractItem>
T
public Collection<? extends Action> createFor(AbstractItem target)
TransientActionFactory
createFor
in class TransientActionFactory<AbstractItem>
target
- an actionable objectCollections.emptySet()
or Collections.singleton(T)
)Copyright © 2004–2022. All rights reserved.