Class LibraryArtifact
- java.lang.Object
-
- org.apache.synapse.libraries.model.LibraryArtifact
-
- All Implemented Interfaces:
SynapseArtifact
public class LibraryArtifact extends Object implements SynapseArtifact
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LibraryArtifact.Dependency
-
Constructor Summary
Constructors Constructor Description LibraryArtifact(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSubArtifact(LibraryArtifact artifact)
String
getDescription()
Retrieves the description of the artifactString
getName()
String
getType()
boolean
isLeafArtifact()
void
loadComponentsInto(SynapseLibrary library)
void
setDescription(String description)
Set the description of the artifactvoid
setParent(LibraryArtifact parent)
void
setPath(String path)
void
setType(String type)
void
setupFile(String filename)
String
toString()
-
-
-
Constructor Detail
-
LibraryArtifact
public LibraryArtifact(String name)
-
-
Method Detail
-
setupFile
public void setupFile(String filename)
-
addSubArtifact
public void addSubArtifact(LibraryArtifact artifact)
-
getName
public String getName()
-
isLeafArtifact
public boolean isLeafArtifact()
-
loadComponentsInto
public void loadComponentsInto(SynapseLibrary library)
-
setPath
public void setPath(String path)
-
getType
public String getType()
-
setType
public void setType(String type)
-
setParent
public void setParent(LibraryArtifact parent)
-
setDescription
public void setDescription(String description)
Description copied from interface:SynapseArtifact
Set the description of the artifact- Specified by:
setDescription
in interfaceSynapseArtifact
- Parameters:
description
- tobe set to the artifact
-
getDescription
public String getDescription()
Description copied from interface:SynapseArtifact
Retrieves the description of the artifact- Specified by:
getDescription
in interfaceSynapseArtifact
- Returns:
- description of the artifact
-
-