MockAuthorizationStrategy
plus MockFolder
instead.@Deprecated public class SecuredMockFolder extends MockFolder
Modifier and Type | Class and Description |
---|---|
static class |
SecuredMockFolder.DescriptorImpl
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
hudson.security.ACL |
getACL()
Deprecated.
|
hudson.model.TopLevelItem |
getItem(String name)
Deprecated.
|
boolean |
hasPermission(hudson.security.Permission p)
Deprecated.
|
void |
setPermissions(String username,
hudson.security.Permission... permissions)
Deprecated.
|
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, renameTo
checkRename, delete, delete, doCheckNewName, doConfigDotXml, doConfirmRename, doDoDelete, doReload, doSetName, doSubmitDescription, getAbsoluteUrl, getApi, getConfigFile, getDescription, getDisplayName, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getParent, getPronoun, getRelativeDisplayNameFrom, getRelativeNameFromGroup, getRootDir, getSearchName, getSearchUrl, getShortUrl, getTarget, getTaskNoun, getUrl, movedTo, performDelete, resolveForCLI, save, setDescription, setDisplayName, setDisplayNameOrNull, toString, updateByXml, updateByXml, writeConfigDotXml
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
getSearch, getSearchIndex, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
allItems, allItems, getAllItems, getAllItems, getFullDisplayName, getFullName, getUrl
delete, getAbsoluteUrl, getDisplayName, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCreatedFromScratch, save
public hudson.model.TopLevelItem getItem(String name)
getItem
in interface hudson.model.ItemGroup<hudson.model.TopLevelItem>
getItem
in class MockFolder
public boolean hasPermission(@NonNull hudson.security.Permission p)
@NonNull public hudson.security.ACL getACL()
getACL
in interface hudson.security.AccessControlled
getACL
in class hudson.model.AbstractItem
public void setPermissions(String username, hudson.security.Permission... permissions)
Copyright © 2004–2022. All rights reserved.