Class ArtifactOperations


  • public class ArtifactOperations
    extends java.lang.Object
    The artifact operations which cannot be implemented in an interface.
    Author:
    Holger Eichelberger
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static IArtifact convert​(java.lang.String val)
      Conversion operation.
      static IArtifact convert​(Path path)
      Conversion operation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArtifactOperations

        public ArtifactOperations()
    • Method Detail

      • convert

        public static IArtifact convert​(Path path)
                                 throws VilException
        Conversion operation.
        Parameters:
        path - the path to be converted
        Returns:
        the converted value
        Throws:
        VilException - in case that creating the artifact fails
      • convert

        public static IArtifact convert​(java.lang.String val)
                                 throws VilException
        Conversion operation.
        Parameters:
        val - the value to be converted
        Returns:
        the converted value
        Throws:
        VilException - in case that creating the artifact fails