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 voidcreateClient()Obtain a new instance of AtmosApi client and store it in configuration.com.emc.atmos.api.AtmosApigetClient()StringgetFullTokenId()StringgetLocalPath()StringgetName()StringgetNewRemotePath()AtmosOperationgetOperation()StringgetQuery()StringgetRemotePath()StringgetSecretKey()StringgetUri()booleanisSslValidation()voidsetClient(com.emc.atmos.api.AtmosApi client)voidsetFullTokenId(String fullTokenId)Atmos client fullTokenIdvoidsetLocalPath(String localPath)Local path to put filesvoidsetName(String name)Atmos namevoidsetNewRemotePath(String newRemotePath)New path on Atmos when moving filesvoidsetOperation(AtmosOperation operation)Operation to performvoidsetQuery(String query)Search query on AtmosvoidsetRemotePath(String remotePath)Where to put files on AtmosvoidsetSecretKey(String secretKey)The secret key to pass to the Atmos client (should be base64 encoded)voidsetSslValidation(boolean sslValidation)Atmos SSL validationvoidsetUri(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 AtmosExceptionObtain 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
-
-