|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.jobConfigHistory.JobConfigHistoryBaseAction
hudson.plugins.jobConfigHistory.JobConfigHistoryRootAction
@Extension public class JobConfigHistoryRootAction
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.plugins.jobConfigHistory.JobConfigHistoryBaseAction |
|---|
JobConfigHistoryBaseAction.SideBySideView |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
JobConfigHistoryRootAction()
|
|
| Method Summary | |
|---|---|
protected void |
checkConfigurePermission()
See whether the current user may read configurations in the object returned by JobConfigHistoryBaseAction.getAccessControlledObject(). |
protected hudson.security.AccessControlled |
getAccessControlledObject()
Returns the object for which we want to provide access control. |
List<ConfigInfo> |
getConfigs()
Returns the configuration history entries for either AbstractItems or system changes or deleted jobs
or all of the above. |
String |
getIconFileName()
Make method final, as we always want the same icon file. |
protected List<ConfigInfo> |
getJobConfigs(String type)
Returns the configuration history entries for all jobs or deleted jobs in this Hudson instance. |
List<ConfigInfo> |
getSingleConfigs(org.kohsuke.stapler.StaplerRequest req)
Returns the configuration history entries for one group of system files. |
protected List<ConfigInfo> |
getSystemConfigs()
Returns the configuration history entries for all system files in this Hudson instance. |
String |
getUrlName()
Do not make this method final as JobConfigHistoryRootAction
overrides this method. |
boolean |
hasConfigurePermission()
Returns whether the current user may read configurations in the object returned by JobConfigHistoryBaseAction.getAccessControlledObject(). |
boolean |
hasJobConfigurePermission()
Returns whether the current user may configure jobs. |
| Methods inherited from class hudson.plugins.jobConfigHistory.JobConfigHistoryBaseAction |
|---|
doDiffFiles, getConfigXml, getDiff, getDiffFile, getDiffLines, getDisplayName, getFile, getHudson, getPlugin, getRequestParameter, wantRawOutput, wantXmlOutput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.model.Action |
|---|
getDisplayName |
| Constructor Detail |
|---|
public JobConfigHistoryRootAction()
| Method Detail |
|---|
public final String getUrlName()
JobConfigHistoryRootAction
overrides this method.
This actions always starts from the context directly, so prefix JobConfigHistoryConsts.URLNAME with a
slash.
getUrlName in interface hudson.model.ActiongetUrlName in class JobConfigHistoryBaseActionpublic final String getIconFileName()
null to hide the icon if the user is not allowed to configure
jobs.
getIconFileName in interface hudson.model.Action
public final List<ConfigInfo> getConfigs()
throws IOException
AbstractItems or system changes or deleted jobs
or all of the above.
IOException - if one of the history entries might not be read.
protected List<ConfigInfo> getSystemConfigs()
throws IOException
IOException - if one of the history entries might not be read.
protected List<ConfigInfo> getJobConfigs(String type)
throws IOException
type - Whether we want to see all jobs or just the deleted jobs.
IOException - if one of the history entries might not be read.
public final List<ConfigInfo> getSingleConfigs(org.kohsuke.stapler.StaplerRequest req)
throws IOException
req - The incoming StaplerRequest
IOException - if one of the history entries might not be read.protected hudson.security.AccessControlled getAccessControlledObject()
getAccessControlledObject in class JobConfigHistoryBaseActionprotected void checkConfigurePermission()
JobConfigHistoryBaseActionJobConfigHistoryBaseAction.getAccessControlledObject().
checkConfigurePermission in class JobConfigHistoryBaseActionpublic boolean hasConfigurePermission()
JobConfigHistoryBaseActionJobConfigHistoryBaseAction.getAccessControlledObject().
hasConfigurePermission in class JobConfigHistoryBaseActionpublic boolean hasJobConfigurePermission()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||