Package com.axway.ats.action
Class ActionLibraryConfigurator
- java.lang.Object
-
- com.axway.ats.config.AbstractConfigurator
-
- com.axway.ats.action.ActionLibraryConfigurator
-
public class ActionLibraryConfigurator extends AbstractConfigurator
The Action Library configuration class
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ActionLibraryConfigurator.FileSnapshots
Settings for file snapshots
-
Field Summary
Fields Modifier and Type Field Description ActionLibraryConfigurator.FileSnapshots
snapshots
-
Fields inherited from class com.axway.ats.config.AbstractConfigurator
log
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCopyFileEndPort()
Get the ending point (highest port number) for non-local file system copy operationsString
getCopyFileStartPort()
Get the starting point (lowest port number) for non-local file system copy operationsString
getDefaultMessagesBox()
Get the default message box to be used when loading packageslong
getFileTransferConnectionInitialDelay()
Get the file transfer connection initial delaylong
getFileTransferConnectionInterval()
Get the file transfer connection intervallong
getFileTransferConnectionTimeout()
Get the file transfer connection timeoutString
getFileTransferDefaultHttpsCipherSuites()
Get the default HTTPS encryption cipher suitesString
getFileTransferDefaultHttpsEncryptionProtocols()
Get the default HTTPS encryption protocolsboolean
getFileTransferVerboseMode()
Get the file transfer verbose modeboolean
getHttpKeepRequestBody()
boolean
getHttpKeepRequestHeaders()
boolean
getHttpKeepRequestParameters()
static ActionLibraryConfigurator
getInstance()
String
getMailHost()
Get the mail(SMTP) ServerString
getMailLocalAddress()
Get the mail local addresslong
getMailPort()
Get the port of the mail Serverboolean
getMailSessionDebugMode()
Get if the mail session is in debug modelong
getMailTimeout()
Get the mail sending timeout.int
getMimePackageMaxNestedLevel()
Get the level of nested packages we parse when loading a MIME packageString
getRestDefaultRequestMediaCharset()
String
getRestDefaultRequestMediaType()
String
getRestDefaultResponseMediaCharset()
String
getRestDefaultResponseMediaType()
boolean
getRestKeepRequestHeaders()
boolean
getRestKeepRequestMediaCharset()
boolean
getRestKeepRequestMediaType()
boolean
getRestKeepRequestParameters()
boolean
getRestKeepResourcePath()
boolean
getRestKeepResponseMediaCharset()
boolean
getRestKeepResponseMediaType()
protected void
reloadData()
void
setCopyFileEndPort(int endPort)
Set the ending point (highest port number) to try to allocate for non-local file system copy operationsvoid
setCopyFileStartPort(int startPort)
Set the starting point (lowest port number) to try to allocate for non-local file system copy operationsvoid
setDefaultMessagesBox(String defaultMessageBox)
Set the default message box to be used when loading packagesvoid
setFileTransferConnectionInitialDelay(long delay)
Set the file transfer connection initial delayvoid
setFileTransferConnectionInterval(long interval)
Set the file transfer connection intervalvoid
setFileTransferConnectionTimeout(long timeout)
Set the file transfer connection timeoutvoid
setFileTransferDefaultHttpsCipherSuites(String cipherSuites)
Set the default HTTPS encryption cipher suites.void
setFileTransferDefaultHttpsEncryptionProtocols(String protocols)
Set the default HTTPS encryption protocols, for example "TLSv1.2".void
setFileTransferVerboseMode(boolean verboseMode)
Set the file transfer verbose modevoid
setHttpKeepRequestBody(boolean keepRequestBody)
void
setHttpKeepRequestHeaders(boolean keepRequestHeaders)
void
setHttpKeepRequestParameters(boolean keepRequestParameters)
void
setMailHost(String mailHost)
Set the mail(SMTP) Servervoid
setMailLocalAddress(String localAddress)
Set the mail local host address.void
setMailPort(long mailPort)
Set the port of the mail Servervoid
setMailSessionDebugMode(boolean debugMode)
Set mail session in debug modevoid
setMailTimeout(long mailTimeout)
Set the mail sending timeout.void
setMimePackageMaxNestedLevel(int maxNestedLevel)
Set the level of nested packages we parse when loading a MIME packagevoid
setRestDefaultRequestMediaCharset(String mediaType)
void
setRestDefaultRequestMediaType(String mediaType)
void
setRestDefaultResponseMediaCharset(String mediaType)
void
setRestDefaultResponseMediaType(String mediaType)
void
setRestKeepRequestHeaders(boolean keepRequestHeaders)
void
setRestKeepRequestMediaCharset(boolean keepRequestMediaCharset)
void
setRestKeepRequestMediaType(boolean keepRequestMediaType)
void
setRestKeepRequestParameters(boolean keepRequestParameters)
void
setRestKeepResourcePath(boolean keepResourcePath)
void
setRestKeepResponseMediaCharset(boolean keepResponseMediaCharset)
void
setRestKeepResponseMediaType(boolean keepResponseMediaType)
-
Methods inherited from class com.axway.ats.config.AbstractConfigurator
addConfigFile, addConfigFileFromClassPath, clearCustomProperties, clearTempProperties, getBooleanProperty, getCharProperty, getIntegerProperty, getLongProperty, getOptionalProperty, getProperties, getProperty, setCustomProperty, setTempProperty
-
-
-
-
Field Detail
-
snapshots
public ActionLibraryConfigurator.FileSnapshots snapshots
-
-
Method Detail
-
getInstance
public static ActionLibraryConfigurator getInstance()
-
getDefaultMessagesBox
public String getDefaultMessagesBox()
Get the default message box to be used when loading packages- Returns:
- the default message box name
-
setDefaultMessagesBox
public void setDefaultMessagesBox(String defaultMessageBox)
Set the default message box to be used when loading packages- Parameters:
defaultMessageBox
- the default message box name
-
getFileTransferVerboseMode
public boolean getFileTransferVerboseMode()
Get the file transfer verbose mode- Returns:
- the file transfer verbose mode
-
setFileTransferVerboseMode
public void setFileTransferVerboseMode(boolean verboseMode)
Set the file transfer verbose mode- Parameters:
verbose
- mode the file transfer verbose mode
-
getFileTransferConnectionTimeout
public long getFileTransferConnectionTimeout()
Get the file transfer connection timeout- Returns:
- the file transfer connection timeout
-
setFileTransferConnectionTimeout
public void setFileTransferConnectionTimeout(long timeout)
Set the file transfer connection timeout- Parameters:
defaultMessageBox
- the file transfer connection timeout
-
setFileTransferConnectionInterval
public void setFileTransferConnectionInterval(long interval)
Set the file transfer connection interval- Parameters:
defaultMessageBox
- the file transfer connection timeout
-
getFileTransferConnectionInterval
public long getFileTransferConnectionInterval()
Get the file transfer connection interval- Returns:
- the file transfer connection timeout
-
setFileTransferConnectionInitialDelay
public void setFileTransferConnectionInitialDelay(long delay)
Set the file transfer connection initial delay- Parameters:
defaultMessageBox
- the file transfer connection timeout
-
getFileTransferConnectionInitialDelay
public long getFileTransferConnectionInitialDelay()
Get the file transfer connection initial delay- Returns:
- the file transfer connection timeout
-
setFileTransferDefaultHttpsEncryptionProtocols
public void setFileTransferDefaultHttpsEncryptionProtocols(String protocols)
Set the default HTTPS encryption protocols, for example "TLSv1.2". You can specify more than one by using ',' as a delimiter- Parameters:
protocol
- the encryption protocols
-
getFileTransferDefaultHttpsEncryptionProtocols
public String getFileTransferDefaultHttpsEncryptionProtocols()
Get the default HTTPS encryption protocols- Returns:
- the encryption protocols
-
setFileTransferDefaultHttpsCipherSuites
public void setFileTransferDefaultHttpsCipherSuites(String cipherSuites)
Set the default HTTPS encryption cipher suites. You can specify more than one by using ',' as a delimiter- Parameters:
protocol
- the cipher suites
-
getFileTransferDefaultHttpsCipherSuites
public String getFileTransferDefaultHttpsCipherSuites()
Get the default HTTPS encryption cipher suites- Returns:
- the cipher suites
-
setCopyFileStartPort
public void setCopyFileStartPort(int startPort)
Set the starting point (lowest port number) to try to allocate for non-local file system copy operations- Parameters:
startPort
- starting range port
-
getCopyFileStartPort
public String getCopyFileStartPort()
Get the starting point (lowest port number) for non-local file system copy operations- Returns:
- starting range port
-
setCopyFileEndPort
public void setCopyFileEndPort(int endPort)
Set the ending point (highest port number) to try to allocate for non-local file system copy operations- Parameters:
endPort
- ending range port
-
getCopyFileEndPort
public String getCopyFileEndPort()
Get the ending point (highest port number) for non-local file system copy operations- Returns:
- ending range port
-
setMailHost
public void setMailHost(String mailHost)
Set the mail(SMTP) Server- Parameters:
mailHost
- the mail Server
-
getMailHost
public String getMailHost()
Get the mail(SMTP) Server- Returns:
- the mail Server
-
setMailPort
public void setMailPort(long mailPort)
Set the port of the mail Server- Parameters:
mailPort
- the port of the mail Server
-
getMailPort
public long getMailPort()
Get the port of the mail Server- Returns:
- the port of the mail Server
-
setMailTimeout
public void setMailTimeout(long mailTimeout)
Set the mail sending timeout. It is used for example when sending a mail over SMTP.- Parameters:
mailTimeout
- the mail send timeout
-
setMailLocalAddress
public void setMailLocalAddress(String localAddress)
Set the mail local host address. This is the local address to bind to when creating the SMTP socket. Defaults to the address picked by the Socket class. Should not normally need to be set, but useful with multi-homed hosts where it's important to pick a particular local address to bind to.- Parameters:
localAddress
- the local address
-
getMailLocalAddress
public String getMailLocalAddress()
Get the mail local address- Returns:
- the mail local address
-
getMailTimeout
public long getMailTimeout()
Get the mail sending timeout. It is used for example when sending a message over SMTP.- Returns:
- the mail sending timeout
-
setMailSessionDebugMode
public void setMailSessionDebugMode(boolean debugMode)
Set mail session in debug mode- Parameters:
debugMode
- the mail session debug mode
-
getMailSessionDebugMode
public boolean getMailSessionDebugMode()
Get if the mail session is in debug mode- Returns:
-
getMimePackageMaxNestedLevel
public int getMimePackageMaxNestedLevel()
Get the level of nested packages we parse when loading a MIME package- Returns:
-
setMimePackageMaxNestedLevel
public void setMimePackageMaxNestedLevel(int maxNestedLevel)
Set the level of nested packages we parse when loading a MIME package- Parameters:
maxNestedLevel
- the max nested level
-
getRestDefaultRequestMediaType
public String getRestDefaultRequestMediaType()
-
setRestDefaultRequestMediaType
public void setRestDefaultRequestMediaType(String mediaType)
-
getRestDefaultRequestMediaCharset
public String getRestDefaultRequestMediaCharset()
-
setRestDefaultRequestMediaCharset
public void setRestDefaultRequestMediaCharset(String mediaType)
-
getRestDefaultResponseMediaType
public String getRestDefaultResponseMediaType()
-
setRestDefaultResponseMediaType
public void setRestDefaultResponseMediaType(String mediaType)
-
getRestDefaultResponseMediaCharset
public String getRestDefaultResponseMediaCharset()
-
setRestDefaultResponseMediaCharset
public void setRestDefaultResponseMediaCharset(String mediaType)
-
getRestKeepRequestMediaType
public boolean getRestKeepRequestMediaType()
-
setRestKeepRequestMediaType
public void setRestKeepRequestMediaType(boolean keepRequestMediaType)
-
getRestKeepRequestMediaCharset
public boolean getRestKeepRequestMediaCharset()
-
setRestKeepRequestMediaCharset
public void setRestKeepRequestMediaCharset(boolean keepRequestMediaCharset)
-
getRestKeepResponseMediaType
public boolean getRestKeepResponseMediaType()
-
setRestKeepResponseMediaType
public void setRestKeepResponseMediaType(boolean keepResponseMediaType)
-
getRestKeepResponseMediaCharset
public boolean getRestKeepResponseMediaCharset()
-
setRestKeepResponseMediaCharset
public void setRestKeepResponseMediaCharset(boolean keepResponseMediaCharset)
-
getRestKeepResourcePath
public boolean getRestKeepResourcePath()
-
setRestKeepResourcePath
public void setRestKeepResourcePath(boolean keepResourcePath)
-
getRestKeepRequestHeaders
public boolean getRestKeepRequestHeaders()
-
setRestKeepRequestHeaders
public void setRestKeepRequestHeaders(boolean keepRequestHeaders)
-
getRestKeepRequestParameters
public boolean getRestKeepRequestParameters()
-
setRestKeepRequestParameters
public void setRestKeepRequestParameters(boolean keepRequestParameters)
-
getHttpKeepRequestHeaders
public boolean getHttpKeepRequestHeaders()
-
setHttpKeepRequestHeaders
public void setHttpKeepRequestHeaders(boolean keepRequestHeaders)
-
getHttpKeepRequestParameters
public boolean getHttpKeepRequestParameters()
-
setHttpKeepRequestParameters
public void setHttpKeepRequestParameters(boolean keepRequestParameters)
-
getHttpKeepRequestBody
public boolean getHttpKeepRequestBody()
-
setHttpKeepRequestBody
public void setHttpKeepRequestBody(boolean keepRequestBody)
-
reloadData
protected void reloadData()
- Specified by:
reloadData
in classAbstractConfigurator
-
-