hudson.plugins.swarm
Class UDPFragmentImpl
java.lang.Object
hudson.UDPBroadcastFragment
hudson.plugins.swarm.UDPFragmentImpl
- All Implemented Interfaces:
- hudson.ExtensionPoint
@Extension
public class UDPFragmentImpl
- extends hudson.UDPBroadcastFragment
Adds a secret pass-pharse to UDP broadcast, to allow nearby nodes to register themselves as slaves.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Field Summary |
UUID |
secret
This is the pass phrase that allows swarm slaves to create a new slave object on Jenkins. |
| Methods inherited from class hudson.UDPBroadcastFragment |
all |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
secret
public final UUID secret
- This is the pass phrase that allows swarm slaves to create a new slave object on Jenkins.
UDPFragmentImpl
public UDPFragmentImpl()
buildFragment
public void buildFragment(StringBuilder buf,
SocketAddress adrs)
- Specified by:
buildFragment in class hudson.UDPBroadcastFragment
Copyright © 2004-2011. All Rights Reserved.