public class HostInfo extends Object implements Transformers.ResourceIgnoredTransformationRegistry, Transformers.OperationExcludedTransformationRegistry
DEFAULTpublic 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.ResourceIgnoredTransformationRegistryaddress should be excluded from
resource transformation.isResourceTransformationIgnored in interface Transformers.ResourceIgnoredTransformationRegistryaddress - the resource address. Cannot be nulltrue 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.OperationExcludedTransformationRegistryaddress should be excluded from normal
TransformationTarget.resolveTransformer(TransformationContext, PathAddress, String) transformation}
and instead simply discarded.isOperationExcluded in interface Transformers.OperationExcludedTransformationRegistryaddress - the operation address. Cannot be nulloperationName - 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 © 2021 JBoss by Red Hat. All rights reserved.