hudson.plugins.jobConfigHistory
Class JobConfigHistoryProjectAction
java.lang.Object
hudson.plugins.jobConfigHistory.JobConfigHistoryBaseAction
hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.ModelObject
public class JobConfigHistoryProjectAction
- extends JobConfigHistoryBaseAction
- Author:
- Stefan Brausch
| Methods inherited from class hudson.plugins.jobConfigHistory.JobConfigHistoryBaseAction |
doDiffFiles, getConfigXml, getDiff, getDiffFile, getDiffLines, getDisplayName, getFile, getHudson, getIconFileName, getPlugin, getRequestParameter, getUrlName, wantRawOutput, wantXmlOutput |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobConfigHistoryProjectAction
public JobConfigHistoryProjectAction(hudson.model.AbstractProject<?,?> project)
- Parameters:
project - for which configurations should be returned.
getConfigs
public final List<ConfigInfo> getConfigs()
throws IOException
- Returns the configuration history entries for one
AbstractProject.
- Returns:
- history list for one
AbstractProject.
- Throws:
IOException - if JobConfigHistoryConsts.HISTORY_FILE might not be read or the path might not be urlencoded.
getProject
public final hudson.model.AbstractProject<?,?> getProject()
- Returns the project for which we want to see the config history, the config files or the diff.
- Returns:
- project
getAccessControlledObject
protected hudson.security.AccessControlled getAccessControlledObject()
- Returns the object for which we want to provide access control. Returns the project.
- Specified by:
getAccessControlledObject in class JobConfigHistoryBaseAction
- Returns:
- the access controlled object.
checkConfigurePermission
protected void checkConfigurePermission()
- Description copied from class:
JobConfigHistoryBaseAction
- See whether the current user may read configurations in the object
returned by
JobConfigHistoryBaseAction.getAccessControlledObject().
- Specified by:
checkConfigurePermission in class JobConfigHistoryBaseAction
hasConfigurePermission
protected boolean hasConfigurePermission()
- Description copied from class:
JobConfigHistoryBaseAction
- Returns whether the current user may read configurations in the object
returned by
JobConfigHistoryBaseAction.getAccessControlledObject().
- Specified by:
hasConfigurePermission in class JobConfigHistoryBaseAction
- Returns:
- true if the current user may read configurations.
Copyright © 2004-2012. All Rights Reserved.