Class FileSystemArtifactOperations
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.artifactModel.FileSystemArtifactOperations
-
public class FileSystemArtifactOperations extends java.lang.ObjectThe file system artifact operations which cannot be implemented in an interface.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Constructor Description FileSystemArtifactOperations()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Pathconvert(IFileSystemArtifact val)Conversion operation.(package private) static voidsetExecutable(IFileSystemArtifact art, boolean ownerOnly)Enables the (operation system specific) execution flag for the given artifact.
-
-
-
Method Detail
-
convert
public static Path convert(IFileSystemArtifact val) throws VilException
Conversion operation.- Parameters:
val- the value to be converted- Returns:
- the converted value
- Throws:
VilException- in case of problems
-
setExecutable
static void setExecutable(IFileSystemArtifact art, boolean ownerOnly) throws VilException
Enables the (operation system specific) execution flag for the given artifact.- Parameters:
art- the artifactownerOnly- whether all users or just the owner shall be allowed to exectue this artifact- Throws:
VilException- if the executable flag cannot be set.
-
-