hudson.plugins.jobConfigHistory
クラス JobConfigHistoryProjectAction

java.lang.Object
  上位を拡張 hudson.plugins.jobConfigHistory.JobConfigHistoryBaseAction
      上位を拡張 hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction
すべての実装されたインタフェース:
hudson.model.Action, hudson.model.ModelObject

public class JobConfigHistoryProjectAction
extends JobConfigHistoryBaseAction

作成者:
Stefan Brausch

入れ子のクラスの概要
 
クラス hudson.plugins.jobConfigHistory.JobConfigHistoryBaseAction から継承された入れ子のクラス/インタフェース
JobConfigHistoryBaseAction.SideBySideView
 
コンストラクタの概要
JobConfigHistoryProjectAction(hudson.model.AbstractProject<?,?> project)
           
 
メソッドの概要
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 one AbstractProject.
 hudson.model.AbstractProject<?,?> getProject()
          Returns the project for which we want to see the config history, the config files or the diff.
protected  boolean hasConfigurePermission()
          Returns whether the current user may read configurations in the object returned by JobConfigHistoryBaseAction.getAccessControlledObject().
 
クラス hudson.plugins.jobConfigHistory.JobConfigHistoryBaseAction から継承されたメソッド
doDiffFiles, getConfigXml, getDiff, getDiffFile, getDiffLines, getDisplayName, getFile, getHudson, getIconFileName, getPlugin, getRequestParameter, getUrlName, wantRawOutput, wantXmlOutput
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JobConfigHistoryProjectAction

public JobConfigHistoryProjectAction(hudson.model.AbstractProject<?,?> project)
パラメータ:
project - for which configurations should be returned.
メソッドの詳細

getConfigs

public final List<ConfigInfo> getConfigs()
                                  throws IOException
Returns the configuration history entries for one AbstractProject.

戻り値:
history list for one AbstractProject.
例外:
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.

戻り値:
project

getAccessControlledObject

protected hudson.security.AccessControlled getAccessControlledObject()
Returns the object for which we want to provide access control. Returns the project.

定義:
クラス JobConfigHistoryBaseAction 内の getAccessControlledObject
戻り値:
the access controlled object.

checkConfigurePermission

protected void checkConfigurePermission()
クラス JobConfigHistoryBaseAction の記述:
See whether the current user may read configurations in the object returned by JobConfigHistoryBaseAction.getAccessControlledObject().

定義:
クラス JobConfigHistoryBaseAction 内の checkConfigurePermission

hasConfigurePermission

protected boolean hasConfigurePermission()
クラス JobConfigHistoryBaseAction の記述:
Returns whether the current user may read configurations in the object returned by JobConfigHistoryBaseAction.getAccessControlledObject().

定義:
クラス JobConfigHistoryBaseAction 内の hasConfigurePermission
戻り値:
true if the current user may read configurations.


Copyright © 2004-2011. All Rights Reserved.