Package org.apache.camel.component.atmos
Class AtmosConfiguration
- java.lang.Object
-
- org.apache.camel.component.atmos.AtmosConfiguration
-
@UriParams public class AtmosConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description AtmosConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createClient()
Obtain a new instance of AtmosApi client and store it in configuration.com.emc.atmos.api.AtmosApi
getClient()
String
getFullTokenId()
String
getLocalPath()
String
getName()
String
getNewRemotePath()
AtmosOperation
getOperation()
String
getQuery()
String
getRemotePath()
String
getSecretKey()
String
getUri()
boolean
isSslValidation()
void
setClient(com.emc.atmos.api.AtmosApi client)
void
setFullTokenId(String fullTokenId)
Atmos client fullTokenIdvoid
setLocalPath(String localPath)
Local path to put filesvoid
setName(String name)
Atmos namevoid
setNewRemotePath(String newRemotePath)
New path on Atmos when moving filesvoid
setOperation(AtmosOperation operation)
Operation to performvoid
setQuery(String query)
Search query on Atmosvoid
setRemotePath(String remotePath)
Where to put files on Atmosvoid
setSecretKey(String secretKey)
The secret key to pass to the Atmos client (should be base64 encoded)void
setSslValidation(boolean sslValidation)
Atmos SSL validationvoid
setUri(String uri)
Atomos server uri
-
-
-
Method Detail
-
setClient
public void setClient(com.emc.atmos.api.AtmosApi client)
-
getClient
public com.emc.atmos.api.AtmosApi getClient()
-
createClient
public void createClient() throws AtmosException
Obtain a new instance of AtmosApi client and store it in configuration.- Throws:
AtmosException
-
getName
public String getName()
-
setName
public void setName(String name)
Atmos name
-
getSecretKey
public String getSecretKey()
-
setSecretKey
public void setSecretKey(String secretKey)
The secret key to pass to the Atmos client (should be base64 encoded)
-
getLocalPath
public String getLocalPath()
-
setLocalPath
public void setLocalPath(String localPath)
Local path to put files
-
getRemotePath
public String getRemotePath()
-
setRemotePath
public void setRemotePath(String remotePath)
Where to put files on Atmos
-
getNewRemotePath
public String getNewRemotePath()
-
setNewRemotePath
public void setNewRemotePath(String newRemotePath)
New path on Atmos when moving files
-
getQuery
public String getQuery()
-
setQuery
public void setQuery(String query)
Search query on Atmos
-
getFullTokenId
public String getFullTokenId()
-
setFullTokenId
public void setFullTokenId(String fullTokenId)
Atmos client fullTokenId
-
getOperation
public AtmosOperation getOperation()
-
setOperation
public void setOperation(AtmosOperation operation)
Operation to perform
-
setUri
public void setUri(String uri)
Atomos server uri
-
getUri
public String getUri()
-
isSslValidation
public boolean isSslValidation()
-
setSslValidation
public void setSslValidation(boolean sslValidation)
Atmos SSL validation
-
-