public class HostInfo extends Object implements Transformers.ResourceIgnoredTransformationRegistry, Transformers.OperationExcludedTransformationRegistry
DEFAULT
public static org.jboss.dmr.ModelNode createLocalHostHostInfo(LocalHostControllerInfo hostInfo, ProductConfig productConfig, IgnoredDomainResourceRegistry ignoredResourceRegistry, Resource hostModelResource)
hostInfo
- the local host infoproductConfig
- the product configignoredResourceRegistry
- registry of ignored resourcespublic static HostInfo fromModelNode(org.jboss.dmr.ModelNode hostInfo)
public static HostInfo fromModelNode(org.jboss.dmr.ModelNode hostInfo, DomainHostExcludeRegistry hostIgnoreRegistry)
public String getHostName()
public String getReleaseVersion()
public String getReleaseCodeName()
public int getManagementMajorVersion()
public int getManagementMinorVersion()
public int getManagementMicroVersion()
public String getProductName()
public String getProductVersion()
public Long getRemoteConnectionId()
public boolean isResourceTransformationIgnored(PathAddress address)
Transformers.ResourceIgnoredTransformationRegistry
address
should be excluded from
resource transformation
.isResourceTransformationIgnored
in interface Transformers.ResourceIgnoredTransformationRegistry
address
- the resource address. Cannot be null
true
if the resource should be excluded from resource transformationpublic boolean isIgnoreUnaffectedConfig()
public Set<IgnoredNonAffectedServerGroupsUtil.ServerConfigInfo> getServerConfigInfos()
public String getPrettyProductName()
public boolean isOperationExcluded(PathAddress address, String operationName)
Transformers.OperationExcludedTransformationRegistry
address
should be excluded from normal
TransformationTarget.resolveTransformer(TransformationContext, PathAddress, String)
transformation}
and instead simply discarded
.isOperationExcluded
in interface Transformers.OperationExcludedTransformationRegistry
address
- the operation address. Cannot be null
operationName
- the name of the operationtrue
if the operation should be excluded from normal operation transformationpublic ReadMasterDomainModelUtil.RequiredConfigurationHolder populateRequiredConfigurationHolder(Resource resource, ExtensionRegistry extensionRegistry)
public static Transformers.ResourceIgnoredTransformationRegistry createIgnoredRegistry(org.jboss.dmr.ModelNode modelNode)
Copyright © 2023 JBoss by Red Hat. All rights reserved.