Package org.jvnet.hudson.test
Class SecuredMockFolder
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.AbstractItem
org.jvnet.hudson.test.MockFolder
org.jvnet.hudson.test.SecuredMockFolder
- All Implemented Interfaces:
hudson.ExtensionPoint,hudson.model.Describable<hudson.model.TopLevelItem>,hudson.model.DescriptorByNameOwner,hudson.model.Item,hudson.model.ItemGroup<hudson.model.TopLevelItem>,hudson.model.ModelObject,hudson.model.ModifiableItemGroup<hudson.model.TopLevelItem>,hudson.model.ModifiableViewGroup,hudson.model.PersistenceRoot,hudson.model.Saveable,hudson.model.TopLevelItem,hudson.model.ViewGroup,hudson.search.SearchableModelObject,hudson.search.SearchItem,hudson.security.AccessControlled,jenkins.model.DirectlyModifiableTopLevelItemGroup,jenkins.model.Loadable,jenkins.model.ModelObjectWithContextMenu,jenkins.model.ModifiableTopLevelItemGroup,jenkins.util.io.OnMaster,org.kohsuke.stapler.HttpDeletable,org.kohsuke.stapler.StaplerFallback,org.kohsuke.stapler.StaplerProxy
Deprecated.
Folder stub with a configurable permission control.
The implementation secures the access to the item and to its children.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface org.kohsuke.stapler.HttpDeletable
org.kohsuke.stapler.HttpDeletable.HttpDeletableDispatcherNested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
jenkins.model.ModelObjectWithContextMenu.ContextMenu, jenkins.model.ModelObjectWithContextMenu.ContextMenuVisibility, jenkins.model.ModelObjectWithContextMenu.MenuItem, jenkins.model.ModelObjectWithContextMenu.MenuItemType -
Field Summary
Fields inherited from class hudson.model.AbstractItem
description, displayName, name, PRONOUN, SKIP_PERMISSION_CHECK, TASK_NOUNFields inherited from interface hudson.model.Item
BUILD, CANCEL, CONFIGURE, CREATE, DELETE, DISCOVER, EXTENDED_READ, PERMISSIONS, READ, WIPEOUT, WORKSPACEFields inherited from interface hudson.model.Saveable
NOOP -
Method Summary
Modifier and TypeMethodDescriptionhudson.security.ACLgetACL()Deprecated.hudson.model.TopLevelItemDeprecated.booleanhasPermission(hudson.security.Permission p) Deprecated.voidsetPermissions(String username, hudson.security.Permission... permissions) Deprecated.Methods inherited from class org.jvnet.hudson.test.MockFolder
add, addView, canAdd, canDelete, copy, createProject, createProject, createProjectFromXML, deleteView, doCreateItem, getAllJobs, getDescriptor, getItemGroup, getItems, getJob, getPrimaryView, getRootDirFor, getStaplerFallback, getUrlChildPrefix, getView, getViewActions, getViews, getViewsTabBar, isNameEditable, onCopiedFrom, onDeleted, onLoad, onRenamed, onViewRenamed, remove, renameToMethods inherited from class hudson.model.AbstractItem
checkRename, delete, delete, delete, doCheckNewName, doConfigDotXml, doConfigDotXml, doConfirmRename, doDoDelete, doDoDelete, doReload, doSetName, doSubmitDescription, doSubmitDescription, getAbsoluteUrl, getApi, getConfigFile, getDescription, getDisplayName, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getParent, getPronoun, getRelativeDisplayNameFrom, getRelativeNameFromGroup, getRootDir, getSearchName, getSearchUrl, getShortUrl, getTarget, getTaskNoun, getUrl, load, movedTo, performDelete, resolveForCLI, save, setDescription, setDisplayName, setDisplayNameOrNull, toString, updateByXml, updateByXml, writeConfigDotXml, writeReplaceMethods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActionsMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission2Methods inherited from interface hudson.model.DescriptorByNameOwner
getDescriptorByNameMethods inherited from interface hudson.model.Item
delete, getAbsoluteUrl, getDisplayName, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCreatedFromScratch, saveMethods inherited from interface hudson.model.ItemGroup
allItems, allItems, allItems, getAllItems, getAllItems, getAllItems, getFullDisplayName, getFullName, getItemName, getItems, getItemsStream, getItemsStream, getUrlMethods inherited from interface hudson.model.ModifiableItemGroup
doCreateItemMethods inherited from interface hudson.model.PersistenceRoot
getRootDirMethods inherited from interface hudson.search.SearchableModelObject
getSearchMethods inherited from interface hudson.search.SearchItem
getSearchIndex, getSearchName, getSearchUrlMethods inherited from interface hudson.model.ViewGroup
getAllViews, getUrl
-
Method Details
-
getItem
Deprecated.- Specified by:
getItemin interfacehudson.model.ItemGroup<hudson.model.TopLevelItem>- Overrides:
getItemin classMockFolder
-
hasPermission
public boolean hasPermission(@NonNull hudson.security.Permission p) Deprecated. -
getACL
@NonNull public hudson.security.ACL getACL()Deprecated.- Specified by:
getACLin interfacehudson.security.AccessControlled- Overrides:
getACLin classhudson.model.AbstractItem
-
setPermissions
Deprecated.
-
MockAuthorizationStrategyplusMockFolderinstead.