Class VtlFileArtifact
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.artifactModel.CompositeArtifact
-
- net.ssehub.easy.instantiation.core.model.artifactModel.FileArtifact
-
- net.ssehub.easy.instantiation.core.model.artifactModel.VtlFileArtifact
-
- All Implemented Interfaces:
IArtifact,IArtifactChangedListener,IFileSystemArtifact,IActualValueProvider,IStringValueProvider,IVilType
public class VtlFileArtifact extends FileArtifact
Defines an artifact for VTL.- Author:
- Holger Eichelberger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider
IStringValueProvider.StringComparator
-
-
Field Summary
-
Fields inherited from class net.ssehub.easy.instantiation.core.model.artifactModel.FileArtifact
DEFAULT
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVtlFileArtifact(java.io.File file, ArtifactModel model)Creates a new file artifact.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileArtifactconvert(java.lang.String val)Conversion operation.static FileArtifactconvert(Path path)Conversion operation.-
Methods inherited from class net.ssehub.easy.instantiation.core.model.artifactModel.FileArtifact
accept, convert, convert, copy, create, createBinary, createText, delete, determineActualValue, exists, getArtifactModel, getName, getPath, getPathSegments, getPlainName, getStringValue, isTemporary, lastModification, move, rename, selectAll, setExecutable, store, substituteExtension
-
Methods inherited from class net.ssehub.easy.instantiation.core.model.artifactModel.CompositeArtifact
artifactChanged, getBinary, getBinaryInstance, getRepresentationChanged, getText, getTextInstance, update
-
-
-
-
Constructor Detail
-
VtlFileArtifact
protected VtlFileArtifact(java.io.File file, ArtifactModel model)Creates a new file artifact.- Parameters:
file- the physical file of this artifactmodel- the artifact model to create this folder artifact within
-
-
Method Detail
-
convert
public static FileArtifact 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 FileArtifact 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
-
-