|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.ghn.service.configuration.Configuration
public class Configuration
The configuration of a managed app.
Includes the list of its client services.
| Constructor Summary | |
|---|---|
Configuration()
|
|
| Method Summary | |
|---|---|
String |
description()
Returns the description of the service. |
Configuration |
description(String description)
Sets the description of the service. |
boolean |
equals(Object obj)
|
Configuration |
group(String group)
Sets the class of the service. |
int |
hashCode()
|
Mode |
mode()
Returns the management Mode. |
Configuration |
mode(Mode mode)
Sets the management mode. |
String |
name()
Returns the name of the service. |
Configuration |
name(String name)
Sets the name of the service. |
Persistence |
persistence()
Returns the LocalPersistence for the service. |
Configuration |
persistence(Persistence manager)
Sets the LocalPersistence for the service. |
String |
serviceClass()
Returns the class of the service |
List<String> |
startScopes()
Returns the start scopes of the service |
Configuration |
startScopes(String... scopes)
Sets the start scopes of the service. |
void |
validate()
|
String |
version()
Returns the version of the service |
Configuration |
version(String version)
Sets the version of the service. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Configuration()
| Method Detail |
|---|
public Mode mode()
Mode.
public String name()
public Configuration name(String name)
name - the name of the service
public String serviceClass()
public Configuration group(String group)
group - the class of the service
public String version()
public Configuration version(String version)
version - the version of the service
public String description()
public Configuration description(String description)
description - the description of the service
public List<String> startScopes()
public Configuration startScopes(String... scopes)
scopes - the start scopes of the service
public Persistence persistence()
LocalPersistence for the service.
public Configuration persistence(Persistence manager)
LocalPersistence for the service.
manager - the manager
public Configuration mode(Mode mode)
the - management mode
public void validate()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||