|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.espirit.firstspirit.access.project.RemoteProjectConfiguration
public class RemoteProjectConfiguration
This class holds all necessary information for a connection to a remote project. A remote project configuration can be defined in a project.
Project.getRemoteProjectConfigurations()
,
Project.setRemoteProjectConfigurations(java.util.List)
,
Serialized FormField Summary | |
---|---|
static String |
CATEGORY_DEFAULT
|
static String |
CATEGORY_PREFIX
|
Constructor Summary | |
---|---|
RemoteProjectConfiguration()
Create a new instance. |
Method Summary | |
---|---|
String |
getLoginName()
Returns the login name of the user which is used for the connection to the remote project or null if the
current user should be used. |
String |
getLoginPassword()
Returns the encrypted password of the user which is used for the connection to the remote project or null if the
current user should be used. |
String |
getPrefix()
Returns the prefix defined in this remote project configuration. |
String |
getProjectCategory()
Returns the name of the project category (exclusive the prefix "category:") related to this configuration. |
String |
getProjectName()
Returns the name of the project related to this configuration. |
String |
getSymbolicName()
Returns the symbolic name of this remote project configuration. |
String |
getUrlCreator()
Get the public or class name of the url creator used to generate urls to nodes of the remote project. |
void |
setLoginName(String loginName)
Set the login name of the user which should be used for the remote project connection. |
void |
setLoginPassword(String loginPassword)
Sets the password of the user which should be used for the remote project connection. |
void |
setPrefix(String prefix)
Sets the prefix for this remote project configuration. |
void |
setProjectCategory(String projectCategory)
Set the name of the project category, for example "myRemoteCategory" not ""category:myRemoteCategory". |
void |
setProjectName(String projectName)
Set the name of the project which should be related to this configuration. |
void |
setSymbolicName(String symbolicName)
Set the symbolic name for this configuration. |
void |
setUrlCreator(String value)
Set the public name or class name of the url creator used to generate urls for nodes of the remote project. |
void |
setUseCurrentUser(boolean useCurrentUser)
Set true if the credentials of the current user should be used for the remote connection
instead of the login name and the password |
void |
setUseRelatedProjects(boolean useRelatedProjects)
|
void |
setUseRemoteMedia(boolean useRemoteMedia)
|
void |
setUseRemoteSchemata(boolean useRemoteSchemata)
|
String |
toString()
|
boolean |
useCurrentUser()
Returns true if the remote connection which is created with this
remote project configuration should use the credentials of the
current user instead of the login name and the password |
boolean |
useRelatedProjects()
|
boolean |
useRemoteMedia()
|
boolean |
useRemoteSchemata()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String CATEGORY_PREFIX
public static final String CATEGORY_DEFAULT
Constructor Detail |
---|
public RemoteProjectConfiguration()
Method Detail |
---|
public String getSymbolicName()
public void setSymbolicName(String symbolicName)
Project.getRemoteProjectConfigurations()
)
symbolicName
- the symbolic name for this configurationpublic String getProjectName()
public void setProjectName(String projectName)
projectName
- the name of the project@Nullable public String getProjectCategory()
public void setProjectCategory(@Nullable String projectCategory)
projectCategory
- the project category stringpublic String getPrefix()
public void setPrefix(String prefix)
prefix
- public String getLoginName()
null
if the
current user
should be used.
RemoteProjectConfiguration.useCurrentUser()
public void setLoginName(String loginName)
loginName
- the login name of the user used for the remote project connectionRemoteProjectConfiguration.setUseCurrentUser(boolean)
public String getLoginPassword()
null
if the
current user
should be used.
RemoteProjectConfiguration.useCurrentUser()
public void setLoginPassword(String loginPassword)
loginPassword
- the password of the user used for the remote project connectionRemoteProjectConfiguration.setUseCurrentUser(boolean)
public boolean useCurrentUser()
true
if the remote connection which is created with this
remote project configuration
should use the credentials of the
current user instead of the login name
and the password
true
if the current user should be used for remote connection, false
otherwisepublic void setUseCurrentUser(boolean useCurrentUser)
true
if the credentials of the current user should be used for the remote connection
instead of the login name
and the password
useCurrentUser
- true
to use current user for remote connection, false
otherwisepublic boolean useRemoteMedia()
public void setUseRemoteMedia(boolean useRemoteMedia)
public boolean useRelatedProjects()
public void setUseRelatedProjects(boolean useRelatedProjects)
public boolean useRemoteSchemata()
public void setUseRemoteSchemata(boolean useRemoteSchemata)
public String getUrlCreator()
RemoteProjectConfiguration.setUrlCreator(String)
public void setUrlCreator(String value)
RemoteProjectConfiguration.getUrlCreator()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |