public class

NodeFiltersBuilder

extends Object
java.lang.Object
   ↳ org.rundeck.api.NodeFiltersBuilder

Class Overview

Builder for node filters

Summary

Public Constructors
NodeFiltersBuilder()
Build a new instance.
Public Methods
NodeFiltersBuilder excludeHostname(String hostname)
Exclude nodes matching the given hostname
NodeFiltersBuilder excludeName(String name)
Exclude nodes matching the given name
NodeFiltersBuilder excludeOsArch(String osArch)
Exclude nodes matching the given OS-arch
NodeFiltersBuilder excludeOsFamily(String osFamily)
Exclude nodes matching the given OS-family
NodeFiltersBuilder excludeOsName(String osName)
Exclude nodes matching the given OS-name
NodeFiltersBuilder excludeOsVersion(String osVersion)
Exclude nodes matching the given OS-version
NodeFiltersBuilder excludePrecedence(boolean excludePrecedence)
Whether exclusion filters take precedence (default to yes).
NodeFiltersBuilder excludeTags(String tags)
Exclude nodes matching the given tags
NodeFiltersBuilder excludeType(String type)
Exclude nodes matching the given type
NodeFiltersBuilder hostname(String hostname)
Include nodes matching the given hostname
NodeFiltersBuilder name(String name)
Include nodes matching the given name
NodeFiltersBuilder osArch(String osArch)
Include nodes matching the given OS-arch
NodeFiltersBuilder osFamily(String osFamily)
Include nodes matching the given OS-family
NodeFiltersBuilder osName(String osName)
Include nodes matching the given OS-name
NodeFiltersBuilder osVersion(String osVersion)
Include nodes matching the given OS-version
NodeFiltersBuilder tags(String tags)
Include nodes matching the given tags
Properties toProperties()
NodeFiltersBuilder type(String type)
Include nodes matching the given type
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NodeFiltersBuilder ()

Build a new instance. At the end, use toProperties().

Public Methods

public NodeFiltersBuilder excludeHostname (String hostname)

Exclude nodes matching the given hostname

Returns
  • this, for method chaining

public NodeFiltersBuilder excludeName (String name)

Exclude nodes matching the given name

Returns
  • this, for method chaining

public NodeFiltersBuilder excludeOsArch (String osArch)

Exclude nodes matching the given OS-arch

Returns
  • this, for method chaining

public NodeFiltersBuilder excludeOsFamily (String osFamily)

Exclude nodes matching the given OS-family

Returns
  • this, for method chaining

public NodeFiltersBuilder excludeOsName (String osName)

Exclude nodes matching the given OS-name

Returns
  • this, for method chaining

public NodeFiltersBuilder excludeOsVersion (String osVersion)

Exclude nodes matching the given OS-version

Returns
  • this, for method chaining

public NodeFiltersBuilder excludePrecedence (boolean excludePrecedence)

Whether exclusion filters take precedence (default to yes).

Returns
  • this, for method chaining

public NodeFiltersBuilder excludeTags (String tags)

Exclude nodes matching the given tags

Returns
  • this, for method chaining

public NodeFiltersBuilder excludeType (String type)

Exclude nodes matching the given type

Returns
  • this, for method chaining

public NodeFiltersBuilder hostname (String hostname)

Include nodes matching the given hostname

Returns
  • this, for method chaining

public NodeFiltersBuilder name (String name)

Include nodes matching the given name

Returns
  • this, for method chaining

public NodeFiltersBuilder osArch (String osArch)

Include nodes matching the given OS-arch

Returns
  • this, for method chaining

public NodeFiltersBuilder osFamily (String osFamily)

Include nodes matching the given OS-family

Returns
  • this, for method chaining

public NodeFiltersBuilder osName (String osName)

Include nodes matching the given OS-name

Returns
  • this, for method chaining

public NodeFiltersBuilder osVersion (String osVersion)

Include nodes matching the given OS-version

Returns
  • this, for method chaining

public NodeFiltersBuilder tags (String tags)

Include nodes matching the given tags

Returns
  • this, for method chaining

public Properties toProperties ()

Returns
  • a new Properties instance

public NodeFiltersBuilder type (String type)

Include nodes matching the given type

Returns
  • this, for method chaining