jp.ikedam.jenkins.plugins.jobcopy_builder
クラス JobcopyBuilder.DescriptorImpl

java.lang.Object
  上位を拡張 hudson.model.Descriptor<T>
      上位を拡張 hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
          上位を拡張 jp.ikedam.jenkins.plugins.jobcopy_builder.JobcopyBuilder.DescriptorImpl
すべての実装されたインタフェース:
hudson.model.Saveable
含まれているクラス:
JobcopyBuilder

@Extension
public static final class JobcopyBuilder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>

The internal class to work with views. The following files are used (put in main/resource directory in the source tree).

config.jelly
shown as a part of a job configuration page.


入れ子のクラスの概要
 
クラス hudson.model.Descriptor から継承された入れ子のクラス/インタフェース
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
フィールドの概要
 
クラス hudson.model.Descriptor から継承されたフィールド
clazz
 
インタフェース hudson.model.Saveable から継承されたフィールド
NOOP
 
コンストラクタの概要
JobcopyBuilder.DescriptorImpl()
           
 
メソッドの概要
 hudson.util.FormValidation doCheckFromJobName(hudson.model.AbstractProject<?,?> project, String fromJobName)
          Validate "From Job Name" field.
 hudson.util.FormValidation doCheckJobName(hudson.model.AbstractProject<?,?> project, String jobName, boolean warnIfExists, boolean warnIfNotExists)
          Validate "From Job Name" or "To Job Name" field.
 hudson.util.FormValidation doCheckToJobName(hudson.model.AbstractProject<?,?> project, String toJobName, boolean overwrite)
          Validate "To Job Name" field.
 hudson.util.ComboBoxModel doFillFromJobNameItems(hudson.model.AbstractProject<?,?> project)
          Returns the list of jobs.
 String getDisplayName()
          Returns the display name Displayed in the "Add build step" dropdown in a job configuration page.
 hudson.DescriptorExtensionList<JobcopyOperation,hudson.model.Descriptor<JobcopyOperation>> getJobcopyOperationDescriptors()
          Returns all the available JobcopyOperation.
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
          Test whether this build step can be applied to the specified job type.
 
クラス hudson.tasks.BuildStepDescriptor から継承されたメソッド
filter
 
クラス hudson.model.Descriptor から継承されたメソッド
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JobcopyBuilder.DescriptorImpl

public JobcopyBuilder.DescriptorImpl()
メソッドの詳細

getDisplayName

public String getDisplayName()
Returns the display name Displayed in the "Add build step" dropdown in a job configuration page.

定義:
クラス hudson.model.Descriptor<hudson.tasks.Builder> 内の getDisplayName
戻り値:
the display name
関連項目:
Descriptor.getDisplayName()

isApplicable

public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
Test whether this build step can be applied to the specified job type. This build step works for any type of jobs, for always returns true.

定義:
クラス hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder> 内の isApplicable
パラメータ:
jobType - the type of the job to be tested.
戻り値:
true
関連項目:
BuildStepDescriptor.isApplicable(java.lang.Class)

getJobcopyOperationDescriptors

public hudson.DescriptorExtensionList<JobcopyOperation,hudson.model.Descriptor<JobcopyOperation>> getJobcopyOperationDescriptors()
Returns all the available JobcopyOperation. Used for the contents of "Add Copy Operation" dropdown.

戻り値:
the list of JobcopyOperation

doFillFromJobNameItems

public hudson.util.ComboBoxModel doFillFromJobNameItems(@AncestorInPath
                                                        hudson.model.AbstractProject<?,?> project)
Returns the list of jobs. Used for the autocomplete of From Job Name.

戻り値:
the list of names of jobs

doCheckJobName

public hudson.util.FormValidation doCheckJobName(hudson.model.AbstractProject<?,?> project,
                                                 String jobName,
                                                 boolean warnIfExists,
                                                 boolean warnIfNotExists)
Validate "From Job Name" or "To Job Name" field. Returns as following:
jobName warnIfExists warnIfNotExists Returns
Blank any any error
value containing variables any any ok
existing job false any ok
existing job true any warning
non existing job any false ok
non existing job any true warning

パラメータ:
jobName -
warnIfExists -
warnIfNotExists -
戻り値:

doCheckFromJobName

public hudson.util.FormValidation doCheckFromJobName(@AncestorInPath
                                                     hudson.model.AbstractProject<?,?> project,
                                                     @QueryParameter
                                                     String fromJobName)
Validate "From Job Name" field.

パラメータ:
fromJobName -
戻り値:

doCheckToJobName

public hudson.util.FormValidation doCheckToJobName(@AncestorInPath
                                                   hudson.model.AbstractProject<?,?> project,
                                                   @QueryParameter
                                                   String toJobName,
                                                   @QueryParameter
                                                   boolean overwrite)
Validate "To Job Name" field.

パラメータ:
toJobName -
overwrite -
戻り値:
FormValidation object.


Copyright © 2004-2014. All Rights Reserved.