public interface GitRepository extends RelationalObject
RelationalObject.Filter
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_BRANCH
The default value of the branch property
|
static String |
DEFAULT_COMMIT_AUTHOR
The default value of the commit author property
|
static String |
DEFAULT_COMMIT_EMAIL
The default value of the commit email property
|
static KomodoType |
IDENTIFIER
Identifier of this object
|
static GitRepository[] |
NO_GIT_REPOSITORIES
An empty array of git repositories.
|
static TypeResolver<GitRepository> |
RESOLVER
The resolver of a
GitRepository . |
static int |
TYPE_ID
The type identifier.
|
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
String |
getBranch(Repository.UnitOfWork transaction) |
String |
getCommitAuthor(Repository.UnitOfWork transaction) |
String |
getCommitEmail(Repository.UnitOfWork transaction) |
String |
getPassword(Repository.UnitOfWork transaction) |
String |
getTargetDirectory(Repository.UnitOfWork transaction) |
URL |
getUrl(Repository.UnitOfWork transaction) |
String |
getUser(Repository.UnitOfWork transaction) |
void |
setBranch(Repository.UnitOfWork transaction,
String branch) |
void |
setCommitAuthor(Repository.UnitOfWork transaction,
String commitAuthor) |
void |
setCommitEmail(Repository.UnitOfWork transaction,
String commitEmail) |
void |
setPassword(Repository.UnitOfWork transaction,
String password) |
void |
setTargetDirectory(Repository.UnitOfWork transaction,
String targetDirectory) |
void |
setUrl(Repository.UnitOfWork transaction,
URL url) |
void |
setUser(Repository.UnitOfWork transaction,
String branch) |
getFilters, setFilters
accept, addChild, addDescriptor, getChild, getChild, getChildren, getChildrenOfType, getChildTypes, getDescriptor, getDescriptors, getIndex, getObjectFactory, getPrimaryType, getProperty, getPropertyDescriptor, getPropertyDescriptors, getPropertyFactory, getPropertyNames, getRawChildren, getRawDescriptors, getRawParent, getRawProperty, getRawPropertyDescriptors, getRawPropertyNames, getTypeId, getTypeIdentifier, hasChild, hasChild, hasChildren, hasDescriptor, hasProperties, hasProperty, hasRawChild, hasRawChild, hasRawChildren, hasRawProperty, isChildRestricted, print, remove, removeChild, removeDescriptor, rename, setPrimaryType, setProperty
getAbsolutePath, getName, getParent, getRepository
static final int TYPE_ID
static final KomodoType IDENTIFIER
static final GitRepository[] NO_GIT_REPOSITORIES
static final String DEFAULT_BRANCH
static final String DEFAULT_COMMIT_AUTHOR
static final String DEFAULT_COMMIT_EMAIL
static final TypeResolver<GitRepository> RESOLVER
GitRepository
.URL getUrl(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)url
propertyKException
- if an error occursvoid setUrl(Repository.UnitOfWork transaction, URL url) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)url
- the new value for the url
propertyKException
- if an error occursString getBranch(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)branch
propertyKException
- if an error occursvoid setBranch(Repository.UnitOfWork transaction, String branch) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)branch
- the new value for the branch
propertyKException
- if an error occursString getUser(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)user
propertyKException
- if an error occursvoid setUser(Repository.UnitOfWork transaction, String branch) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)user
- the new value for the user
propertyKException
- if an error occursString getPassword(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)pswd
propertyKException
- if an error occursvoid setPassword(Repository.UnitOfWork transaction, String password) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)password
- the new value for the pswd
propertyKException
- if an error occursString getCommitAuthor(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)commitAuthor
propertyKException
- if an error occursvoid setCommitAuthor(Repository.UnitOfWork transaction, String commitAuthor) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)commitAuthor
- the new value for the commitAuthor
propertyKException
- if an error occursString getCommitEmail(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)commitEmail
propertyKException
- if an error occursvoid setCommitEmail(Repository.UnitOfWork transaction, String commitEmail) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)commitEmail
- the new value for the commitEmail
propertyKException
- if an error occursString getTargetDirectory(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occursvoid setTargetDirectory(Repository.UnitOfWork transaction, String targetDirectory) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)targetDirectory
- the new relative destination parent directory pathKException
- if an error occursCopyright © 2013–2019. All rights reserved.