Class CLArtifactHelper
java.lang.Object
de.mid.innovator.srv2api.icw2class.CLArtifactHelper
An artifact is the specification of a physical piece of information that is used or produced by a software development process or by deployment and operation of a system. Examples of artifacts include model files, source files, scripts, binary executable files, a table in a database system, a development deliverable, or a word-processing document, a mail message.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic CLArtifactcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) Create a new Artifact with template and container.static CLArtifactcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) Create a new Artifact with stereotype and container.static List<CLArtifact> createByWorkingDirectory(SrvContext srvCtx, MEHierarchyAble root, List<ARG_ExtensionStereotypeMap> seqExtStereoMap, List<String> seqFile) Creates artifacts if they do not already exist.getCreateByWorkingDirectory(SrvContext srvCtx, ELElement item) Returns the working directory and the configured extensions for the selected package.static List<ARG_CheckInOutDlgInitOclReq> getFileOpen(SrvContext srvCtx, List<? extends ADClientAble> seqSel) Returns information needed to execute the open command on artifacts.
-
Method Details
-
getCreateByWorkingDirectory
public static ARG_CreateByWorkingDirectoryOclReq getCreateByWorkingDirectory(SrvContext srvCtx, ELElement item) throws InoNetException, SrvErrorException Returns the working directory and the configured extensions for the selected package.- Parameters:
srvCtx- The context of the related innovator server.item- ELElement instance- Throws:
InoNetExceptionSrvErrorException
-
getFileOpen
public static List<ARG_CheckInOutDlgInitOclReq> getFileOpen(SrvContext srvCtx, List<? extends ADClientAble> seqSel) throws InoNetException, SrvErrorException Returns information needed to execute the open command on artifacts.- Parameters:
srvCtx- The context of the related innovator server.seqSel-- Throws:
InoNetExceptionSrvErrorException
-
createByWorkingDirectory
public static List<CLArtifact> createByWorkingDirectory(SrvContext srvCtx, MEHierarchyAble root, List<ARG_ExtensionStereotypeMap> seqExtStereoMap, List<String> seqFile) throws InoNetException, SrvErrorException Creates artifacts if they do not already exist.- Parameters:
srvCtx- The context of the related innovator server.root- root packageseqExtStereoMap- sequence of extension stereotype mapsseqFile- sequence of file names- Throws:
InoNetExceptionSrvErrorException
-
create
public static CLArtifact create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Artifact with stereotype and container.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohContainer- Container for the new element- Throws:
InoNetExceptionSrvErrorException
-
create
public static CLArtifact create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Artifact with template and container.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohContainer- Container for the new element- Throws:
InoNetExceptionSrvErrorException
-