Interface TransformationTarget

  • All Known Implementing Classes:
    TransformationTargetImpl

    public interface TransformationTarget
    A potentially remote target requiring transformation.
    Author:
    Emanuel Muckenhuber
    • Method Detail

      • getVersion

        ModelVersion getVersion()
        Get the version of this target.
        Returns:
        the model version
      • getSubsystemVersion

        ModelVersion getSubsystemVersion​(String subsystemName)
        Get the subsystem version.
        Parameters:
        subsystemName - the subsystem name
        Returns:
        the version of the specified subsystem, null if it does not exist
      • getPathTransformation

        List<PathAddressTransformer> getPathTransformation​(PathAddress address)
        Get path transformations.
        Parameters:
        address - the path address
        Returns:
        a list of registered path transformers
      • resolveTransformer

        OperationTransformer resolveTransformer​(TransformationContext context,
                                                PathAddress address,
                                                String operationName)
        Resolve an operation transformer for a given address.
        Parameters:
        context - TODO
        address - the address
        operationName - the operation name
        Returns:
        the operation transformer
      • addSubsystemVersion

        void addSubsystemVersion​(String subsystemName,
                                 int majorVersion,
                                 int minorVersion)
        Add version information for a subsystem.
        Parameters:
        subsystemName - the name of the subsystem. Cannot be null
        majorVersion - the major version of the subsystem's management API
        minorVersion - the minor version of the subsystem's management API
      • addSubsystemVersion

        void addSubsystemVersion​(String subsystemName,
                                 ModelVersion version)
        Add version information for a subsystem.
        Parameters:
        subsystemName - the subsystem name
        version - the version
      • getHostName

        String getHostName()
        Get the name of the host we are talking to
      • isIgnoredResourceListAvailableAtRegistration

        boolean isIgnoredResourceListAvailableAtRegistration()
        Gets whether this target can make its list of ignored resources known when it registers.
        Returns:
        true if the target can provide the ignored resources list; false if that is not supported.
      • isIgnoreUnaffectedConfig

        boolean isIgnoreUnaffectedConfig()