Class AssetSolution


  • public class AssetSolution
    extends Object
    This class holds the result information of an asset node.
    Since:
    5.1
    Author:
    O. Kerpershoek
    • Constructor Detail

      • AssetSolution

        public AssetSolution​(String format,
                             AssetDefinition text)
        Constructs the asset solution with the required arguments.
        Parameters:
        format - The format that should be used for the asset.
        text - The asset definition that was found as solution.
    • Method Detail

      • getFormat

        public String getFormat()
        This method returns the format that should be used for the asset.
        Returns:
        The format that should be used for the asset.
      • getText

        public AssetDefinition getText()
        This method returns the asset definition that was found as solution.
        Returns:
        The asset definition that was found as solution.