hudson.plugins.jobConfigHistory
クラス JobConfigHistoryRootAction

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

@Extension
public class JobConfigHistoryRootAction
extends JobConfigHistoryBaseAction
implements hudson.model.RootAction

作成者:
Stefan Brausch, mfriedenhagen

入れ子のクラスの概要
 
クラス hudson.plugins.jobConfigHistory.JobConfigHistoryBaseAction から継承された入れ子のクラス/インタフェース
JobConfigHistoryBaseAction.SideBySideView
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
JobConfigHistoryRootAction()
           
 
メソッドの概要
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()
           
 
クラス hudson.plugins.jobConfigHistory.JobConfigHistoryBaseAction から継承されたメソッド
doDiffFiles, getConfigXml, getDiff, getDiffFile, getDiffLines, getDisplayName, getFile, getHudson, getIconFileName, getPlugin, getRequestParameter, wantRawOutput, wantXmlOutput
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース hudson.model.Action から継承されたメソッド
getDisplayName, getIconFileName
 

コンストラクタの詳細

JobConfigHistoryRootAction

public JobConfigHistoryRootAction()
メソッドの詳細

getUrlName

public final String getUrlName()
Do not make this method final as JobConfigHistoryRootAction overrides this method. This actions always starts from the context directly, so prefix JobConfigHistoryConsts.URLNAME with a slash.

定義:
インタフェース hudson.model.Action 内の getUrlName
オーバーライド:
クラス JobConfigHistoryBaseAction 内の getUrlName

getConfigs

public final List<ConfigInfo> getConfigs()
                                  throws IOException
Returns the configuration history entries for all AbstractProjects and System files in this Hudson instance.

戻り値:
list for all AbstractProjects.
例外:
IOException - if one of the history entries might not be read.

getSystemConfigs

protected List<ConfigInfo> getSystemConfigs(String filter)
                                     throws IOException
Returns the configuration history entries for all System files in this Hudson instance.

パラメータ:
filter - name of the system configuration entity to show
戻り値:
list for all System configuration files.
例外:
IOException - if one of the history entries might not be read.

isFiltered

public boolean isFiltered()
戻り値:
true is the page is loaded with a filter applied

getFilter

public String getFilter()
戻り値:
the filter text used when loading the page, or null if not filtered

getAccessControlledObject

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

定義:
クラス 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.