Package cz.vutbr.fit.layout.tools
Class Cli
- java.lang.Object
-
- cz.vutbr.fit.layout.tools.Cli
-
public class Cli extends Object
- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description Cli()
Cli(ArtifactRepository repo)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Cli
copy()
Creates a sub-shell for parallel tasks.int
execCommandLine(String[] args)
AreaTree
getAreaTree()
ArtifactRepository
getArtifactRepository()
Artifact
getLastArtifact()
Gets the last created artifact.Page
getPage()
ServiceManager
getServiceManager()
Gets a service manager and repository for generating the artifacr IRIsstatic void
main(String[] args)
void
setAreaTree(AreaTree areaTree)
void
setArtifactRepository(ArtifactRepository artifactRepository)
void
setLastArtifact(Artifact art)
void
setPage(Page page)
-
-
-
Constructor Detail
-
Cli
public Cli()
-
Cli
public Cli(ArtifactRepository repo)
-
-
Method Detail
-
copy
public Cli copy()
Creates a sub-shell for parallel tasks. It shares the same artifact repository and initial initial values of the artifacts being processed.- Returns:
- a new Cli instance for a sub-task
-
getArtifactRepository
public ArtifactRepository getArtifactRepository()
-
setArtifactRepository
public void setArtifactRepository(ArtifactRepository artifactRepository)
-
getPage
public Page getPage()
-
setPage
public void setPage(Page page)
-
getAreaTree
public AreaTree getAreaTree()
-
setAreaTree
public void setAreaTree(AreaTree areaTree)
-
getLastArtifact
public Artifact getLastArtifact()
Gets the last created artifact.- Returns:
-
setLastArtifact
public void setLastArtifact(Artifact art)
-
getServiceManager
public ServiceManager getServiceManager()
Gets a service manager and repository for generating the artifacr IRIs- Returns:
- the service manager
-
execCommandLine
public int execCommandLine(String[] args)
-
main
public static void main(String[] args)
- Parameters:
args
-
-
-