Package cern.nxcals.api.domain
Class Group.Builder
- java.lang.Object
-
- cern.nxcals.api.domain.Group.Builder
-
- Direct Known Subclasses:
Group.InnerBuilder
- Enclosing class:
- Group
public static class Group.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Group
build()
Group.Builder
clearProperties()
Group.Builder
description(java.lang.String description)
Group.Builder
label(java.lang.String label)
Group.Builder
name(java.lang.String name)
Group.Builder
owner(java.lang.String owner)
Group.Builder
properties(java.util.Map<? extends java.lang.String,? extends java.lang.String> properties)
Group.Builder
property(java.lang.String propertyKey, java.lang.String propertyValue)
Group.Builder
systemSpec(SystemSpec systemSpec)
java.lang.String
toString()
Group.Builder
visibility(Visibility visibility)
-
-
-
Method Detail
-
name
public Group.Builder name(java.lang.String name)
- Returns:
this
.
-
description
public Group.Builder description(java.lang.String description)
- Returns:
this
.
-
systemSpec
public Group.Builder systemSpec(SystemSpec systemSpec)
- Returns:
this
.
-
property
public Group.Builder property(java.lang.String propertyKey, java.lang.String propertyValue)
-
properties
public Group.Builder properties(java.util.Map<? extends java.lang.String,? extends java.lang.String> properties)
-
clearProperties
public Group.Builder clearProperties()
-
label
public Group.Builder label(java.lang.String label)
- Returns:
this
.
-
owner
public Group.Builder owner(java.lang.String owner)
- Returns:
this
.
-
visibility
public Group.Builder visibility(Visibility visibility)
- Returns:
this
.
-
build
public Group build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-