public class Irods extends Abstract implements CredentialHandler
CredentialHandler.TYPE
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESCRIPTION
The description.
|
static java.lang.String |
IRODSENVFILE
The name of the environment variable that specifies the path to the
irods configuration file.
|
private static java.lang.String |
IRODSENVFILE_PEGASUS_PROFILE_KEY |
private java.lang.String |
mLocalCredentialPath
The local path to the credential
|
mLogger, mProps, mSiteStore
VERSION
Constructor and Description |
---|
Irods()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseName(java.lang.String site)
returns the basename of the path to the local credential
|
java.lang.String |
getDescription()
Returns the description for the implementing handler
|
java.lang.String |
getEnvironmentVariable(java.lang.String site)
Returns the name of the environment variable that needs to be set
for the job associated with the credential.
|
java.lang.String |
getLocalPath()
Returns the path to user cred on the local site.
|
java.lang.String |
getPath(java.lang.String site)
Returns the path to irodsEnv.
|
java.lang.String |
getProfileKey()
Returns the env or pegasus profile key that needs to be associated
for the credential.
|
void |
initialize(PegasusBag bag)
Initializes the credential implementation.
|
getPath, getSiteNameForEnvironmentKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPath
public static final java.lang.String IRODSENVFILE
private static final java.lang.String IRODSENVFILE_PEGASUS_PROFILE_KEY
public static final java.lang.String DESCRIPTION
private java.lang.String mLocalCredentialPath
public void initialize(PegasusBag bag)
initialize
in interface CredentialHandler
initialize
in class Abstract
bag
- the bag of Pegasus objects.public java.lang.String getPath(java.lang.String site)
getPath
in interface CredentialHandler
site
- the site handlepublic java.lang.String getLocalPath()
site
- the site catalog entry object.public java.lang.String getBaseName(java.lang.String site)
getBaseName
in interface CredentialHandler
site
- the site handlepublic java.lang.String getProfileKey()
getProfileKey
in interface CredentialHandler
public java.lang.String getEnvironmentVariable(java.lang.String site)
getEnvironmentVariable
in interface CredentialHandler
public java.lang.String getDescription()
getDescription
in interface CredentialHandler