|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensolaris.opengrok.history.RepositoryInfo
public class RepositoryInfo
Class to contain the common info for a repository. This object will live on the server and the client side, so don't add logic that will only work on one side in this object.
| Field Summary | |
|---|---|
protected java.lang.String |
datePattern
|
protected java.lang.String |
directoryName
|
protected boolean |
remote
|
protected java.lang.String |
type
|
protected boolean |
working
|
| Constructor Summary | |
|---|---|
RepositoryInfo()
Empty constructor to support serialization. |
|
RepositoryInfo(RepositoryInfo orig)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDatePattern()
|
java.lang.String |
getDirectoryName()
Get the name of the root directory for this repository. |
java.lang.String |
getType()
get property type |
boolean |
isRemote()
Is the history and version information for this repository stored on a remote server? |
boolean |
isWorking()
Returns true if this repository is usable in this context (for SCM systems that use external binaries, the binary must be availabe etc) |
void |
setDatePattern(java.lang.String datePattern)
|
void |
setDirectoryName(java.lang.String directoryName)
Specify the name of the root directory for this repository. |
void |
setRemote(boolean remote)
Set the property remote |
void |
setType(java.lang.String type)
Set property type |
void |
setWorking(boolean working)
Set the property working |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String directoryName
protected boolean working
protected java.lang.String type
protected boolean remote
protected java.lang.String datePattern
| Constructor Detail |
|---|
public RepositoryInfo()
public RepositoryInfo(RepositoryInfo orig)
| Method Detail |
|---|
public java.lang.String getDirectoryName()
public void setDirectoryName(java.lang.String directoryName)
directoryName - the new name of the root directorypublic boolean isWorking()
public void setWorking(boolean working)
working - public boolean isRemote()
public void setRemote(boolean remote)
remote - public java.lang.String getType()
public void setType(java.lang.String type)
type - public void setDatePattern(java.lang.String datePattern)
public java.lang.String getDatePattern()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||