public interface ProjectAgent
SpecialistsBroker operating on the respective remote project can be requested
via the BrokerAgent.
Example:
SpecialistsBroker.requireSpecialist(ProjectAgent.TYPE)
BrokerAgent| Modifier and Type | Field and Description |
|---|---|
static SpecialistType<ProjectAgent> |
TYPE
The agent's technical type to be used to request the agent from a
SpecialistsBroker. |
| Modifier and Type | Method and Description |
|---|---|
long |
getId()
The id of the project.
|
Template |
getMetaDataTemplate()
Provides the meta data template.
|
String |
getName()
The full name of the project.
|
Map<String,RemoteProjectConfiguration> |
getRemoteProjectConfigurations(Filter<RemoteProjectConfiguration> remoteCondition)
Get the configurations of remote projects defined.
|
String |
getSymbolicName()
The symbolic name of the
remote configuration this project is registered for. |
List<TemplateSet> |
getTemplateSets()
Get a list of available template sets.
|
boolean |
hasMetaDataTemplate()
Indicates, whether a meta data template is defined in this project.
|
boolean |
isAdmin(User user)
Indicates, whether the given user is an administrator of the project.
|
boolean |
isRemote()
Indicates that the project is remote.
|
boolean |
useRelease()
Returns true if this project uses the release state, false if it is an auto release project.
|
static final SpecialistType<ProjectAgent> TYPE
SpecialistsBroker.boolean isRemote()
true, if remote.String getName()
long getId()
String getSymbolicName()
remote configuration this project is registered for.@NotNull Map<String,RemoteProjectConfiguration> getRemoteProjectConfigurations(@Nullable Filter<RemoteProjectConfiguration> remoteCondition)
remoteCondition - The condition to be fulfilled for accepting a remote project or null for unconditioned acceptance.@NotNull List<TemplateSet> getTemplateSets()
boolean hasMetaDataTemplate()
true, iff a meta data template is defined.@NotNull Template getMetaDataTemplate() throws NoSuchElementException
null, if no template is defined.NoSuchElementException - If no template is defined or the template was not found.boolean useRelease()
Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408