|
||||||||||
| 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 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 all AbstractProjects and System files in this Hudson instance. |
String |
getFilter()
|
protected List<ConfigInfo> |
getSystemConfigs(String filter)
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. |
protected boolean |
hasConfigurePermission()
Returns whether the current user may read configurations in the object returned by JobConfigHistoryBaseAction.getAccessControlledObject(). |
boolean |
isFiltered()
|
| Methods inherited from class hudson.plugins.jobConfigHistory.JobConfigHistoryBaseAction |
|---|
doDiffFiles, getConfigXml, getDiff, getDiffFile, getDisplayName, getFile, getHudson, getIconFileName, 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, getIconFileName |
| 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 JobConfigHistoryBaseAction
public final List<ConfigInfo> getConfigs()
throws IOException
AbstractProjects and System files in this Hudson instance.
AbstractProjects.
IOException - if one of the history entries might not be read.
protected List<ConfigInfo> getSystemConfigs(String filter)
throws IOException
filter - name of the system configuration entity to show
IOException - if one of the history entries might not be read.public boolean isFiltered()
public String getFilter()
protected hudson.security.AccessControlled getAccessControlledObject()
getAccessControlledObject in class JobConfigHistoryBaseActionprotected void checkConfigurePermission()
JobConfigHistoryBaseActionJobConfigHistoryBaseAction.getAccessControlledObject().
checkConfigurePermission in class JobConfigHistoryBaseActionprotected boolean hasConfigurePermission()
JobConfigHistoryBaseActionJobConfigHistoryBaseAction.getAccessControlledObject().
hasConfigurePermission in class JobConfigHistoryBaseAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||