Class FolderCreateWindowAction
java.lang.Object
io.jenkins.plugins.batchcontrol.action.FolderCreateWindowAction
- All Implemented Interfaces:
Action,ModelObject
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class FolderCreateWindowAction
extends Object
implements Action
e2e-03 DEF-19 (SPEC item 8, D-40): the folder page tells the holder of a Create window which new
job names the window allows. A name-restricted window refuses New Item and Rename for any other
name, and core's own pages only say "missing the Job/Create permission"; this notice, on the
folder where the user creates the job, states the exact name or pattern and when the window
ends.
No sidebar entry and no URL; its summary.jelly is included by the folder page for
every action. Only the viewer's own active windows are listed, only while change control is on
and only to a viewer with Item/Read on the folder. It never changes state.
-
Constructor Summary
ConstructorsConstructorDescriptionFolderCreateWindowAction(com.cloudbees.hudson.plugins.folder.AbstractFolder<?> folder) -
Method Summary
Modifier and TypeMethodDescriptionThe viewer's active Create windows that cover new items in this folder: those naming its current full name (a window follows its folder through a rename or move, D-74 (3)).booleanWhether the restriction is a/regex/(worded "matching") rather than an exact name.restriction(Grant grant) The allowed names of a window in words: the exact name or pattern, ornullfor any.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Action
getDescription, getEvent, getGroup, getSemantic, isVisibleInContextMenu
-
Constructor Details
-
FolderCreateWindowAction
public FolderCreateWindowAction(com.cloudbees.hudson.plugins.folder.AbstractFolder<?> folder)
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
getWindows
The viewer's active Create windows that cover new items in this folder: those naming its current full name (a window follows its folder through a rename or move, D-74 (3)). -
restriction
The allowed names of a window in words: the exact name or pattern, ornullfor any. -
isPattern
Whether the restriction is a/regex/(worded "matching") rather than an exact name. -
format
-
remaining
-