org.rundeck.api
Class OptionsBuilder
java.lang.Object
org.rundeck.api.OptionsBuilder
public class OptionsBuilder
- extends Object
Builder for job options
- Author:
- Vincent Behar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptionsBuilder
public OptionsBuilder()
- Build a new instance. Use
addOption(Object, Object)
to add some options, and then
toProperties()
when you're done !
addOption
public OptionsBuilder addOption(Object key,
Object value)
- Add an option
- Parameters:
key
- of the optionvalue
- of the option
- Returns:
- this, for method chaining
toProperties
public Properties toProperties()
- Returns:
- a new
Properties
instance
Copyright © 2011. All Rights Reserved.