org.jenkinsci.plugins.rabbitmqbuildtrigger
クラス RemoteBuildTrigger

java.lang.Object
  上位を拡張 hudson.triggers.Trigger<hudson.model.AbstractProject<?,?>>
      上位を拡張 org.jenkinsci.plugins.rabbitmqbuildtrigger.RemoteBuildTrigger
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<hudson.triggers.Trigger<?>>

public class RemoteBuildTrigger
extends hudson.triggers.Trigger<hudson.model.AbstractProject<?,?>>

The extension trigger builds by application message.

作成者:
rinrinne a.k.a. rin_ne

入れ子のクラスの概要
static class RemoteBuildTrigger.DescriptorImpl
          The descriptor for this trigger.
 
クラス hudson.triggers.Trigger から継承された入れ子のクラス/インタフェース
hudson.triggers.Trigger.Cron
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
フィールドの概要
static String PLUGIN_APPID
           
 
クラス hudson.triggers.Trigger から継承されたフィールド
job, spec, tabs, timer
 
コンストラクタの概要
RemoteBuildTrigger(String remoteBuildToken)
          Creates instance with specified parameters.
 
メソッドの概要
 RemoteBuildTrigger.DescriptorImpl getDescriptor()
           
 String getProjectName()
          Gets project name.
 String getRemoteBuildToken()
          Gets token.
 void scheduleBuild(String queueName, net.sf.json.JSONArray jsonArray)
          Schedules build for triggered job using application message.
 void setRemoteBuildToken(String remoteBuildToken)
          Sets token.
 void start(hudson.model.AbstractProject<?,?> project, boolean newInstance)
           
 void stop()
           
 
クラス hudson.triggers.Trigger から継承されたメソッド
all, checkTriggers, for_, getProjectAction, getProjectActions, getSpec, init, readResolve, run
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

PLUGIN_APPID

public static final String PLUGIN_APPID
関連項目:
定数フィールド値
コンストラクタの詳細

RemoteBuildTrigger

@DataBoundConstructor
public RemoteBuildTrigger(String remoteBuildToken)
Creates instance with specified parameters.

パラメータ:
remoteBuildToken - the token for remote build.
メソッドの詳細

start

public void start(hudson.model.AbstractProject<?,?> project,
                  boolean newInstance)
オーバーライド:
クラス hudson.triggers.Trigger<hudson.model.AbstractProject<?,?>> 内の start

stop

public void stop()
オーバーライド:
クラス hudson.triggers.Trigger<hudson.model.AbstractProject<?,?>> 内の stop

getRemoteBuildToken

public String getRemoteBuildToken()
Gets token.

戻り値:
the token.

setRemoteBuildToken

public void setRemoteBuildToken(String remoteBuildToken)
Sets token.

パラメータ:
remoteBuildToken - the token.

getProjectName

public String getProjectName()
Gets project name.

戻り値:
the project name.

scheduleBuild

public void scheduleBuild(String queueName,
                          net.sf.json.JSONArray jsonArray)
Schedules build for triggered job using application message.

パラメータ:
queueName - the queue name.
jsonArray - the content of application message.

getDescriptor

public RemoteBuildTrigger.DescriptorImpl getDescriptor()
定義:
インタフェース hudson.model.Describable<hudson.triggers.Trigger<?>> 内の getDescriptor
オーバーライド:
クラス hudson.triggers.Trigger<hudson.model.AbstractProject<?,?>> 内の getDescriptor


Copyright © 2004-2014. All Rights Reserved.