Package org.jboss.hal.meta
Class ManagementModel
- java.lang.Object
-
- org.jboss.hal.meta.ManagementModel
-
public class ManagementModel extends Object
Static code related to management model versions and support for various operations and attributes
-
-
Field Summary
Fields Modifier and Type Field Description static VersionTARGET_VERSIONThe target version of the console.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VersionparseVersion(ModelNode modelNode)static booleansupportsCapabilitiesRegistry(Version version)Checks support for the capabilities registry.static booleansupportsConfigurationChanges(Version version)Checks support for configuration changes as defined by{selected.host}/subsystem=core-management/service=configuration-changes.static booleansupportsEjbApplicationSecurityDomain(Version version)Checks support for the resource/subsystem=ejb3/application-security-domain=*.static booleansupportsExplodeDeployment(Version version)Check support for:explodeoperation on deployment resources.static booleansupportsListLogFiles(Version version)Check support for:list-log-filesoperation.static booleansupportsReadContentFromDeployment(Version version)Check support for:read-contentoperation for deployments.static booleansupportsSuspend(Version version)Check support for suspend operation and related attributes.
-
-
-
Field Detail
-
TARGET_VERSION
public static final Version TARGET_VERSION
The target version of the console.
-
-
Method Detail
-
supportsCapabilitiesRegistry
public static boolean supportsCapabilitiesRegistry(Version version)
Checks support for the capabilities registry.- Returns:
trueif the provided version isn't undefined and greater than or equal to5.0.0
-
supportsConfigurationChanges
public static boolean supportsConfigurationChanges(Version version)
Checks support for configuration changes as defined by{selected.host}/subsystem=core-management/service=configuration-changes.- Returns:
trueif the provided version isn't undefined and greater than or equal to5.0.0
-
supportsEjbApplicationSecurityDomain
public static boolean supportsEjbApplicationSecurityDomain(Version version)
Checks support for the resource/subsystem=ejb3/application-security-domain=*.- Returns:
trueif the provided version isn't undefined and greater than or equal to5.0.0
-
supportsExplodeDeployment
public static boolean supportsExplodeDeployment(Version version)
Check support for:explodeoperation on deployment resources.- Returns:
trueif the provided version isn't undefined and greater than or equal to5.0.0
-
supportsListLogFiles
public static boolean supportsListLogFiles(Version version)
Check support for:list-log-filesoperation.- Returns:
trueif the provided version isn't undefined and greater than or equal to2.0.0
-
supportsReadContentFromDeployment
public static boolean supportsReadContentFromDeployment(Version version)
Check support for:read-contentoperation for deployments.- Returns:
trueif the provided version isn't undefined and greater than or equal to5.0.0
-
-