hudson.plugins.promoted_builds
クラス JobPropertyImpl

java.lang.Object
  上位を拡張 hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
      上位を拡張 hudson.plugins.promoted_builds.JobPropertyImpl
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.model.ItemGroup<PromotionProcess>, hudson.model.ModelObject, hudson.model.PersistenceRoot, hudson.model.Saveable, hudson.tasks.BuildStep

public final class JobPropertyImpl
extends hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
implements hudson.model.ItemGroup<PromotionProcess>

Promotion processes defined for a project.

TODO: a possible performance problem as every time the owner job is reconfigured, all the promotion processes get reloaded from the disk.

作成者:
Kohsuke Kawaguchi

入れ子のクラスの概要
static class JobPropertyImpl.DescriptorImpl
           
 
インタフェース hudson.tasks.BuildStep から継承された入れ子のクラス/インタフェース
hudson.tasks.BuildStep.PublisherList
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
フィールドの概要
 
クラス hudson.model.JobProperty から継承されたフィールド
owner
 
インタフェース hudson.model.Saveable から継承されたフィールド
NOOP
 
インタフェース hudson.tasks.BuildStep から継承されたフィールド
BUILDERS, PUBLISHERS
 
コンストラクタの概要
JobPropertyImpl(hudson.model.AbstractProject<?,?> owner)
          Programmatic construction.
 
メソッドの概要
 PromotionProcess addProcess(java.lang.String name)
          Adds a new promotion process of the given name.
 java.util.List<PromotionProcess> getActiveItems()
          Gets the list of active promotion processes.
 java.lang.String getDisplayName()
           
 java.lang.String getFullDisplayName()
           
 java.lang.String getFullName()
           
 PromotionProcess getItem(java.lang.String name)
          Finds a config by name.
 java.util.List<PromotionProcess> getItems()
          Gets the list of promotion processes defined for this project, including ones that are no longer actively used and only for archival purpose.
 hudson.model.Action getJobAction(hudson.model.AbstractProject<?,?> job)
          推奨されていません。 
 hudson.model.AbstractProject<?,?> getOwner()
          Gets AbstractProject that contains us.
 java.io.File getRootDir()
           
 java.io.File getRootDirFor(PromotionProcess child)
           
 java.lang.String getUrl()
           
 java.lang.String getUrlChildPrefix()
           
 boolean prebuild(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
           
 void save()
           
protected  void setOwner(hudson.model.AbstractProject<?,?> owner)
           
 
クラス hudson.model.JobProperty から継承されたメソッド
getDescriptor, getJobActions, getProjectAction, getProjectActions, getRequiredMonitorService, perform
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JobPropertyImpl

public JobPropertyImpl(hudson.model.AbstractProject<?,?> owner)
                throws hudson.model.Descriptor.FormException,
                       java.io.IOException
Programmatic construction.

例外:
hudson.model.Descriptor.FormException
java.io.IOException
メソッドの詳細

addProcess

public PromotionProcess addProcess(java.lang.String name)
                            throws java.io.IOException
Adds a new promotion process of the given name.

例外:
java.io.IOException

setOwner

protected void setOwner(hudson.model.AbstractProject<?,?> owner)
オーバーライド:
クラス hudson.model.JobProperty<hudson.model.AbstractProject<?,?>> 内の setOwner

getItems

public java.util.List<PromotionProcess> getItems()
Gets the list of promotion processes defined for this project, including ones that are no longer actively used and only for archival purpose.

定義:
インタフェース hudson.model.ItemGroup<PromotionProcess> 内の getItems
戻り値:
non-null and non-empty. Read-only.

getActiveItems

public java.util.List<PromotionProcess> getActiveItems()
Gets the list of active promotion processes.


getOwner

public hudson.model.AbstractProject<?,?> getOwner()
Gets AbstractProject that contains us.


getItem

public PromotionProcess getItem(java.lang.String name)
Finds a config by name.

定義:
インタフェース hudson.model.ItemGroup<PromotionProcess> 内の getItem

getRootDir

public java.io.File getRootDir()
定義:
インタフェース hudson.model.PersistenceRoot 内の getRootDir

save

public void save()
          throws java.io.IOException
定義:
インタフェース hudson.model.Saveable 内の save
例外:
java.io.IOException

getUrl

public java.lang.String getUrl()
定義:
インタフェース hudson.model.ItemGroup<PromotionProcess> 内の getUrl

getFullName

public java.lang.String getFullName()
定義:
インタフェース hudson.model.ItemGroup<PromotionProcess> 内の getFullName

getFullDisplayName

public java.lang.String getFullDisplayName()
定義:
インタフェース hudson.model.ItemGroup<PromotionProcess> 内の getFullDisplayName

getUrlChildPrefix

public java.lang.String getUrlChildPrefix()
定義:
インタフェース hudson.model.ItemGroup<PromotionProcess> 内の getUrlChildPrefix

getRootDirFor

public java.io.File getRootDirFor(PromotionProcess child)
定義:
インタフェース hudson.model.ItemGroup<PromotionProcess> 内の getRootDirFor

getDisplayName

public java.lang.String getDisplayName()
定義:
インタフェース hudson.model.ModelObject 内の getDisplayName

prebuild

public boolean prebuild(hudson.model.AbstractBuild<?,?> build,
                        hudson.model.BuildListener listener)
定義:
インタフェース hudson.tasks.BuildStep 内の prebuild
オーバーライド:
クラス hudson.model.JobProperty<hudson.model.AbstractProject<?,?>> 内の prebuild

getJobAction

@Deprecated
public hudson.model.Action getJobAction(hudson.model.AbstractProject<?,?> job)
推奨されていません。 

オーバーライド:
クラス hudson.model.JobProperty<hudson.model.AbstractProject<?,?>> 内の getJobAction


Copyright © 2011. All Rights Reserved.