Class ApplicationConfiguration
java.lang.Object
org.gcube.smartgears.configuration.application.ApplicationConfiguration
The configuration of a managed app.
Includes the list of its client services.
- Author:
- Lucio Lelii, Luca Frosini (ISTI-CNR)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of allowed secret classes.allowedSecrets(String... classNames) Sets the allowed secret classes.context()Returns the application context.Sets the application context.Returns the application description.description(String description) Sets the application description.booleanexcludes()Returns the set of excluded packages or classes.excludes(GCubeExclude... excludes) Sets the excluded packages or classes.group()Returns the application group.Sets the application group.inthashCode()includes()Returns the set of included packages or classes.includes(GCubeInclude... includes) Sets the included packages or classes.name()Returns the application name.Sets the application name.Returns the persistence configuration.persistenceConfiguration(PersistenceConfiguration configuration) Sets the persistence configuration.booleanproxable()Returns whether the application can be proxied.proxable(boolean proxable) Sets whether the application can be proxied.toString()voidvalidate()Validates this configuration.version()Returns the application version.Sets the application version.
-
Constructor Details
-
ApplicationConfiguration
public ApplicationConfiguration()Default constructor.
-
-
Method Details
-
excludes
Returns the set of excluded packages or classes.- Returns:
- the set of exclusions
-
includes
Returns the set of included packages or classes.- Returns:
- the set of inclusions
-
name
Returns the application name.- Returns:
- the application name
-
context
Returns the application context.- Returns:
- the application context
-
excludes
Sets the excluded packages or classes.- Parameters:
excludes- the exclusions to set- Returns:
- this configuration for method chaining
-
includes
Sets the included packages or classes.- Parameters:
includes- the inclusions to set- Returns:
- this configuration for method chaining
-
allowedSecrets
Sets the allowed secret classes.- Parameters:
classNames- the class names of allowed secrets- Returns:
- this configuration for method chaining
-
allowedSecrets
Returns the list of allowed secret classes.- Returns:
- the list of allowed secret class names
-
context
Sets the application context.- Parameters:
context- the context to set- Returns:
- this configuration for method chaining
-
name
Sets the application name.- Parameters:
name- the name to set- Returns:
- this configuration for method chaining
-
persistenceConfiguration
Sets the persistence configuration.- Parameters:
configuration- the persistence configuration to set- Returns:
- this configuration for method chaining
-
proxable
Sets whether the application can be proxied.- Parameters:
proxable- true if the application can be proxied, false otherwise- Returns:
- this configuration for method chaining
-
group
Returns the application group.- Returns:
- the application group
-
group
Sets the application group.- Parameters:
group- the group to set- Returns:
- this configuration for method chaining
-
version
Returns the application version.- Returns:
- the application version
-
version
Sets the application version.- Parameters:
version- the version to set- Returns:
- this configuration for method chaining
-
description
Returns the application description.- Returns:
- the application description
-
description
Sets the application description.- Parameters:
description- the description to set- Returns:
- this configuration for method chaining
-
proxable
public boolean proxable()Returns whether the application can be proxied.- Returns:
- true if the application can be proxied, false otherwise
-
persistenceConfiguration
Returns the persistence configuration.- Returns:
- the persistence configuration
-
validate
public void validate()Validates this configuration. -
hashCode
public int hashCode() -
equals
-
toString
-