Class ComponentRepository
- java.lang.Object
-
- de.julielab.jcore.pipeline.builder.base.main.ComponentRepository
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GitHubRepository
public class ComponentRepository extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentRepository()ComponentRepository(String name, String version, boolean updateable, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()StringgetType()StringgetVersion()booleanisUpdateable()Indicates whether the repository can be scanned for updates.voidsetName(String name)voidsetType(String type)voidsetUpdateable(boolean updateable)voidsetVersion(String version)StringtoString()
-
-
-
Field Detail
-
type
protected String type
-
-
Method Detail
-
getType
public String getType()
-
setType
public void setType(String type)
-
isUpdateable
public boolean isUpdateable()
Indicates whether the repository can be scanned for updates. This should work, for example, forGitHubRepositoryobjects. It might not work for manually assembled repositories of private components.- Returns:
- Whether this repository can be updated.
-
setUpdateable
public void setUpdateable(boolean updateable)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
-