@Extension public class RemoteBuildListener extends Object implements hudson.ExtensionPoint, org.jenkinsci.plugins.rabbitmqconsumer.listeners.ApplicationMessageListener
| コンストラクタと説明 |
|---|
RemoteBuildListener() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
addTrigger(RemoteBuildTrigger trigger)
Adds trigger.
|
String |
getAppId() |
String |
getName() |
void |
onBind(String queueName) |
void |
onReceive(String queueName,
net.sf.json.JSONObject json)
Finds matched projects using given project name and token then schedule
build.
|
void |
onUnbind(String queueName) |
void |
removeTrigger(RemoteBuildTrigger trigger)
Removes trigger.
|
public String getName()
getName インタフェース内 org.jenkinsci.plugins.rabbitmqconsumer.listeners.ApplicationMessageListenerpublic String getAppId()
getAppId インタフェース内 org.jenkinsci.plugins.rabbitmqconsumer.listeners.ApplicationMessageListenerpublic void addTrigger(RemoteBuildTrigger trigger)
trigger - the trigger.public void removeTrigger(RemoteBuildTrigger trigger)
trigger - the trigger.public void onBind(String queueName)
onBind インタフェース内 org.jenkinsci.plugins.rabbitmqconsumer.listeners.ApplicationMessageListenerqueueName - the queue name.public void onUnbind(String queueName)
onUnbind インタフェース内 org.jenkinsci.plugins.rabbitmqconsumer.listeners.ApplicationMessageListenerqueueName - the queue name.public void onReceive(String queueName, net.sf.json.JSONObject json)
onReceive インタフェース内 org.jenkinsci.plugins.rabbitmqconsumer.listeners.ApplicationMessageListenerqueueName - the queue name.json - the content of message.Copyright © 2004-2013. All Rights Reserved.