Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractProcessHandler - Class in com.paypal.selion.utils.process
This class captures most of the heavy lifting required in terms of finding the default set of processes which are to be ear marked for cleansing and also the core part of cleaning up these processes.
AbstractProcessHandler() - Constructor for class com.paypal.selion.utils.process.AbstractProcessHandler
 
AbstractUploadRequestProcessor(TransferContext) - Constructor for class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
 
AbstractUploadResponder(TransferContext) - Constructor for class com.paypal.selion.grid.servlets.transfer.UploadResponder.AbstractUploadResponder
 
accept(File, String) - Method in class com.paypal.selion.node.servlets.LogServlet.LogFilesFilter
 
ACCESS_KEY_CAPABILITY - Static variable in class com.paypal.selion.proxy.SeLionSauceProxy.SauceLabsCapability
 
ACCESS_KEY_PARAM - Static variable in class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
Form parameter for the sauce access key
addArtifactPath(StringBuffer) - Method in class com.paypal.selion.grid.servlets.transfer.UploadResponder.AbstractUploadResponder
 
addNewEvent(RemoteException) - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
afterCommand(TestSession, HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
afterSession(TestSession) - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
 
append(CharSequence) - Method in class com.paypal.selion.utils.FileBackedStringBuffer
 
APPLICATION_URLENCODED_CONTENT_TYPE - Static variable in interface com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor
Content Type for application form-url-encoded request.
ApplicationUploadRequestProcessor(TransferContext) - Constructor for class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.ApplicationUploadRequestProcessor
 
ARTIFACT_FILE_NAME - Static variable in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact
 
ARTIFACT_FOLDER_NAME - Static variable in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact
 
ArtifactDownloadException - Exception in com.paypal.selion.grid.servlets.transfer
ArtifactDownloadException extends RuntimeException and is used for all artifact download related exceptions from the server.
ArtifactDownloadException(String) - Constructor for exception com.paypal.selion.grid.servlets.transfer.ArtifactDownloadException
 
ArtifactDownloadException(String, Throwable) - Constructor for exception com.paypal.selion.grid.servlets.transfer.ArtifactDownloadException
 
ArtifactDownloadException(Throwable) - Constructor for exception com.paypal.selion.grid.servlets.transfer.ArtifactDownloadException
 
ArtifactUploadException - Exception in com.paypal.selion.grid.servlets.transfer
ArtifactUploadException extends RuntimeException and is used for all artifact upload related exceptions from the server.
ArtifactUploadException(String) - Constructor for exception com.paypal.selion.grid.servlets.transfer.ArtifactUploadException
 
ArtifactUploadException(String, Throwable) - Constructor for exception com.paypal.selion.grid.servlets.transfer.ArtifactUploadException
 
ArtifactUploadException(Throwable) - Constructor for exception com.paypal.selion.grid.servlets.transfer.ArtifactUploadException
 
authenticate(String, String) - Static method in class com.paypal.selion.utils.AuthenticationHelper
Tries authenticating a given credentials and returns true if the credentials were valid.
AUTHENTICATION_KEY - Static variable in class com.paypal.selion.utils.SauceConfigReader
Required.
AuthenticationHelper - Class in com.paypal.selion.utils
A Helper class that helps do an authentication check for the given user name password.

B

beforeCommand(TestSession, HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
beforeRelease(TestSession) - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
boot(String[]) - Method in class com.paypal.selion.grid.SeLionGridLauncher
Boot the instance base on the arguments supplied
BrowserInformationCache - Class in com.paypal.selion.pojos
BrowserInformationCache acts as a cache holding the browser name and the maximum instances available in a particular node.
BrowserStatistics(String) - Constructor for class com.paypal.selion.pojos.BrowserStatisticsCollection.BrowserStatistics
 
BrowserStatisticsCollection - Class in com.paypal.selion.pojos
BrowserStatisticsCollection stores the all the supported browsers by the Grid and Nodes collectively.
BrowserStatisticsCollection() - Constructor for class com.paypal.selion.pojos.BrowserStatisticsCollection
 
BrowserStatisticsCollection.BrowserStatistics - Class in com.paypal.selion.pojos
BrowserStatistics holds the statistics for an individual browser.
build() - Method in class com.paypal.selion.grid.servlets.transfer.UploadedArtifact.UploadedArtifactBuilder
Returns an instance of UploadedArtifact

C

changePassword(String, String) - Static method in class com.paypal.selion.utils.AuthenticationHelper
Changes the password for the given user to the new password
com.paypal.selion.grid - package com.paypal.selion.grid
This package hosts the the main startup class(es) for SeLion-Grid.
com.paypal.selion.grid.matchers - package com.paypal.selion.grid.matchers
This package houses the CapabilityMatchers that are internally used by the Grid.
com.paypal.selion.grid.servlets - package com.paypal.selion.grid.servlets
A collection of servlets that are injected into the Grid to provide customized behavior that is specific to SeLion.
com.paypal.selion.grid.servlets.transfer - package com.paypal.selion.grid.servlets.transfer
The package houses classes and interfaces for handling uploads and downloads to SeLion grid via the TransferServlet
com.paypal.selion.logging - package com.paypal.selion.logging
This package houses the logging related capabilities of SeLion Grid.
com.paypal.selion.node.servlets - package com.paypal.selion.node.servlets
A collection of servlets that are injected into the node to provide customized behavior that is specific to SeLion.
com.paypal.selion.pojos - package com.paypal.selion.pojos
A collection of POJOs (Plain old Java Objects) that are used internally.
com.paypal.selion.proxy - package com.paypal.selion.proxy
A collection of custom DefaultRemoteProxy that alter the behavior of grid nodes which interact with the Grid.
com.paypal.selion.utils - package com.paypal.selion.utils
A collection of utilities that are internally used by SeLion Grid.
com.paypal.selion.utils.process - package com.paypal.selion.utils.process
This package houses all the process handling related classes that SeLion requires for supporting the auto healing abilities in SeLion.
CONFIG_DIR - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Relative directory for config files
ConfigParser - Class in com.paypal.selion.utils
A configuration utility that is internally used by SeLion to parse SeLion configuration json file.
ConfigParser.ConfigParserException - Exception in com.paypal.selion.utils
A custom exception that represents all problems arising out of parsing configurations via ConfigParser
ConfigParserException(Throwable) - Constructor for exception com.paypal.selion.utils.ConfigParser.ConfigParserException
 
CONTENT_TYPE_VALUE - Static variable in class com.paypal.selion.grid.servlets.transfer.UploadResponder.JsonUploadResponder
 
CONTENT_TYPE_VALUE - Static variable in class com.paypal.selion.grid.servlets.transfer.UploadResponder.TextPlainUploadResponder
 
createInstance() - Static method in class com.paypal.selion.utils.process.ProcessHandlerFactory
 
createUploadedArtifactUsing(Map<String, String>, byte[]) - Method in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
 

D

DEFAULT_DOWN_POLLING_LIMIT - Static variable in class com.paypal.selion.proxy.SeLionSauceProxy
Overrides value in DefaultRemoteProxy
DEFAULT_IDLE_TIMEOUT - Static variable in class com.paypal.selion.proxy.SeLionSauceProxy
Sauce labs cloud default idle timeout is 90 seconds
DEFAULT_PARENT_TUNNEL_TO_USERNAME_TOKEN - Static variable in class com.paypal.selion.proxy.SeLionSauceProxy
SauceConfigReader instruction to use the provided username value also for the parent-tunnel, if omitted
DEFAULT_POLLING_INTERVAL - Static variable in class com.paypal.selion.proxy.SeLionSauceProxy
Overrides value in DefaultRemoteProxy
DEFAULT_RETRY_COUNT - Static variable in class com.paypal.selion.utils.SauceConfigReader
 
DEFAULT_TIMEOUT - Static variable in class com.paypal.selion.utils.SauceConfigReader
 
DEFAULT_TUNNEL - Static variable in class com.paypal.selion.utils.SauceConfigReader
 
DefaultManagedArtifact - Class in com.paypal.selion.grid.servlets.transfer
DefaultManagedArtifact represents an artifact that is successfully saved to SeLion grid by an HTTP POST method call.
DefaultManagedArtifact() - Constructor for class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.GridAutoUpgradeDelegateServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.GridForceRestartDelegateServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.GridStatistics
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.ListAllNodes
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.LoginServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.PasswordChangeServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.SauceServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.TransferServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.node.servlets.LogServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.node.servlets.NodeAutoUpgradeServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.node.servlets.NodeForceRestartServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.GridAutoUpgradeDelegateServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.GridForceRestartDelegateServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.GridStatistics
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.ListAllNodes
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.LoginServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.PasswordChangeServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.SauceServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.TransferServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.node.servlets.LogServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.node.servlets.NodeAutoUpgradeServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.node.servlets.NodeForceRestartServlet
 
DOWNLOAD_JSON_FILE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Installed/Extracted path to the download.json file
DOWNLOAD_JSON_FILE_RESOURCE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Resource path to the download.json file
DownloadRequestProcessor - Class in com.paypal.selion.grid.servlets.transfer
DownloadRequestProcessor is a default implementation for HTTP GET download requests.
DownloadRequestProcessor() - Constructor for class com.paypal.selion.grid.servlets.transfer.DownloadRequestProcessor
 
DownloadResponder - Class in com.paypal.selion.grid.servlets.transfer
DownloadResponder is default implementation for responding to HTTP GET download requests.
DownloadResponder(TransferContext) - Constructor for class com.paypal.selion.grid.servlets.transfer.DownloadResponder
 
DOWNLOADS_DIR - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Installed path to the downloads directory

E

entering() - Method in class com.paypal.selion.logging.SeLionGridLogger
Function entry log convenience method.
entering(Object) - Method in class com.paypal.selion.logging.SeLionGridLogger
Function entry log convenience method with additional param.
entering(Object...) - Method in class com.paypal.selion.logging.SeLionGridLogger
Function entry log convenience method with additional param.
equals(Object) - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
exiting() - Method in class com.paypal.selion.logging.SeLionGridLogger
Function exit log convenience method.
exiting(Object) - Method in class com.paypal.selion.logging.SeLionGridLogger
Function exit log convenience method.

F

FileBackedStringBuffer - Class in com.paypal.selion.utils
A string buffer that flushes its content to a temporary file whenever the internal string buffer becomes larger than MAX.
FileBackedStringBuffer() - Constructor for class com.paypal.selion.utils.FileBackedStringBuffer
 
FileBackedStringBuffer(int) - Constructor for class com.paypal.selion.utils.FileBackedStringBuffer
 
forceNodeShutdown() - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
Forcefully shuts the node down by calling NodeForceRestartServlet
FORM_ID - Static variable in class com.paypal.selion.grid.servlets.GridForceRestartDelegateServlet
Request parameter used to perform the restart.
FORM_ID - Static variable in class com.paypal.selion.grid.servlets.LoginServlet
Request parameter to perform login.

G

getAbsolutePath() - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
getAbsolutePath() - Method in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact
Return the path of the artifact file
getAcceptHeader() - Method in enum com.paypal.selion.grid.servlets.transfer.UploadResponder.AcceptHeaderEnum
 
getAcceptHeaderEnum(String) - Static method in enum com.paypal.selion.grid.servlets.transfer.UploadResponder.AcceptHeaderEnum
Returns UploadResponder.AcceptHeaderEnum for the given HTTP Accept header, or throws ArtifactUploadException if there is no implementation for the Accept header or if the Accept header is null
getApiKey() - Method in class com.paypal.selion.utils.SauceConfigReader
 
getArtifact(String) - Method in class com.paypal.selion.grid.servlets.transfer.DownloadRequestProcessor
Returns the managed artifact requested in the HTTP call.
getArtifact(String) - Method in class com.paypal.selion.grid.servlets.transfer.ManagedArtifactRepository
 
getArtifact(String) - Method in interface com.paypal.selion.grid.servlets.transfer.ServerRepository
Returns the artifact if there is a matching artifact for the requested artifact.
getArtifactContents() - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
getArtifactContents() - Method in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact
Returns the contents of the artifact as a byte array.
getArtifactContents() - Method in class com.paypal.selion.grid.servlets.transfer.UploadedArtifact
Returns the content of the artifact as a byte array.
getArtifactFolderName() - Method in class com.paypal.selion.grid.servlets.transfer.UploadedArtifact
Returns the optional application folder name used for storing the artifact.
getArtifactName() - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
getArtifactName() - Method in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact
Returns the artifact name.
getArtifactName() - Method in class com.paypal.selion.grid.servlets.transfer.UploadedArtifact
Returns the artifact name.
getAuthenticationKey() - Method in class com.paypal.selion.utils.SauceConfigReader
 
getBrowserStatisticsList() - Method in class com.paypal.selion.pojos.BrowserStatisticsCollection
getConfiguredManagedArtifactClass() - Method in class com.paypal.selion.grid.servlets.transfer.ManagedArtifactRepository
 
getConfiguredManagedArtifactClass() - Method in interface com.paypal.selion.grid.servlets.transfer.ServerRepository
Returns the configured ManagedArtifact class
getContents() - Method in class com.paypal.selion.utils.process.StreamGobbler
 
getCurrentProcessID() - Method in class com.paypal.selion.utils.process.AbstractProcessHandler
Gets the PID for the SeLion-Grid (main) process
getDefaultParentTunnel() - Method in class com.paypal.selion.utils.SauceConfigReader
 
getDefaultTunnelIdentifier() - Method in class com.paypal.selion.utils.SauceConfigReader
 
getDownloadRequestProcessor() - Method in class com.paypal.selion.grid.servlets.transfer.TransferContext
Returns the DownloadRequestProcessor instance associated for this download HTTP request method call.
getHeadersMap() - Method in class com.paypal.selion.grid.servlets.transfer.TransferContext
Get the headers map of the transfer context
getHtmlRender() - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
getHttpContentType() - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
getHttpContentType() - Method in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact
Returns the MIME content type for this ManagedArtifact
getHttpServletRequest() - Method in class com.paypal.selion.grid.servlets.transfer.TransferContext
Returns the HttpServletRequest associated with the server call.
getHttpServletResponse() - Method in class com.paypal.selion.grid.servlets.transfer.TransferContext
Returns the HttpServletResponse associated with the server call.
getInstance() - Static method in class com.paypal.selion.grid.servlets.transfer.ManagedArtifactRepository
 
getInstance() - Static method in class com.paypal.selion.pojos.BrowserInformationCache
 
getInstance() - Static method in class com.paypal.selion.utils.SauceConfigReader
 
getInt(String) - Method in class com.paypal.selion.utils.ConfigParser
 
getInt(String, int) - Method in class com.paypal.selion.utils.ConfigParser
 
getJsonObject(String) - Method in class com.paypal.selion.utils.ConfigParser
 
getJsonObject(String, JsonObject) - Method in class com.paypal.selion.utils.ConfigParser
 
getLogger(Class<?>) - Static method in class com.paypal.selion.logging.SeLionGridLogger
 
getLogger(String) - Static method in class com.paypal.selion.logging.SeLionGridLogger
 
getLong(String) - Method in class com.paypal.selion.utils.ConfigParser
 
getLong(String, long) - Method in class com.paypal.selion.utils.ConfigParser
 
getManagedArtifactInstance() - Method in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
 
getMaxConcurrency() - Method in class com.paypal.selion.utils.SauceLabsRestApi
Get the maximum number of test case that can run in parallel for the primary account.
getMetaInfo() - Method in class com.paypal.selion.grid.servlets.transfer.UploadedArtifact
Returns all of the meta info for the artifact
getNewSession(Map<String, Object>) - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
 
getNewSession(Map<String, Object>) - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
getNumberOfTCRunning() - Method in class com.paypal.selion.utils.SauceLabsRestApi
Get the total number of test cases running in sauce labs for the primary account.
getNumberOfTCRunningForSubAccount(String) - Method in class com.paypal.selion.utils.SauceLabsRestApi
Get the number of test cases running in sauce labs for the sauce labs sub-account/user
getParameters() - Method in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact.RequestParameters
Returns the input parameters that this artifact uses.
getParameters(HttpServletRequest) - Static method in class com.paypal.selion.utils.ServletHelper
Helps retrieve the parameters and its values as a Map
getProcessId() - Method in class com.paypal.selion.pojos.ProcessInfo
 
getProcessInfo(String[], String, OSPlatform) - Method in class com.paypal.selion.utils.process.AbstractProcessHandler
 
getProcessName() - Method in class com.paypal.selion.pojos.ProcessInfo
 
getRegistry() - Method in class com.paypal.selion.grid.servlets.SauceServlet
 
getRemoteHost() - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
getRepositoryFolder() - Method in class com.paypal.selion.grid.servlets.transfer.ManagedArtifactRepository
 
getRepositoryFolder() - Method in interface com.paypal.selion.grid.servlets.transfer.ServerRepository
Returns the repository folder
getRequestHeadersMap() - Method in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
 
getRequestParameters() - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
getRequestParameters() - Method in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact
Returns the headers associated with this ManagedArtifact
getSauceRetry() - Method in class com.paypal.selion.utils.SauceConfigReader
 
getSauceTimeout() - Method in class com.paypal.selion.utils.SauceConfigReader
 
getSauceURL() - Method in class com.paypal.selion.utils.SauceConfigReader
 
getString(String) - Method in class com.paypal.selion.utils.ConfigParser
 
getString(String, String) - Method in class com.paypal.selion.utils.ConfigParser
 
getTotalBrowserCapacity(String, Registry) - Method in class com.paypal.selion.pojos.BrowserInformationCache
Returns the total instances of a particular browser, available through all nodes.
getTotalSessionsComplete() - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
 
getTotalSessionsStarted() - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
 
getUnixImageName() - Method in enum com.paypal.selion.pojos.ProcessNames
 
getUploadedData() - Method in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
 
getUploadedData() - Method in interface com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor
 
getUploadRequestProcessor() - Method in class com.paypal.selion.grid.servlets.transfer.TransferContext
Returns the UploadRequestProcessor instance associated this upload HTTP request method call.
getUploadResponder() - Method in enum com.paypal.selion.grid.servlets.transfer.UploadResponder.AcceptHeaderEnum
 
getUptimeInMinutes() - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
 
getURL() - Method in class com.paypal.selion.utils.SauceConfigReader
 
getUserName() - Method in class com.paypal.selion.utils.SauceConfigReader
 
getWindowsImageName() - Method in enum com.paypal.selion.pojos.ProcessNames
 
GRID_HOME_PAGE_URL - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
URL to the grid home page
GridAutoUpgradeDelegateServlet - Class in com.paypal.selion.grid.servlets
This RegistryBasedServlet servlet is responsible for getting the following information from a Grid admin, and relaying it to each of the nodes, so that they may go about gracefully upgrading themselves once they are done with servicing any of the tests that are already running.
GridAutoUpgradeDelegateServlet() - Constructor for class com.paypal.selion.grid.servlets.GridAutoUpgradeDelegateServlet
 
GridAutoUpgradeDelegateServlet(Registry) - Constructor for class com.paypal.selion.grid.servlets.GridAutoUpgradeDelegateServlet
 
GridForceRestartDelegateServlet - Class in com.paypal.selion.grid.servlets
This RegistryBasedServlet based servlet is responsible for sending restart requests to all the registered nodes.

This requires the hub to also have LoginServlet available.
GridForceRestartDelegateServlet() - Constructor for class com.paypal.selion.grid.servlets.GridForceRestartDelegateServlet
 
GridForceRestartDelegateServlet(Registry) - Constructor for class com.paypal.selion.grid.servlets.GridForceRestartDelegateServlet
 
GridStatistics - Class in com.paypal.selion.grid.servlets
GridStatistics servlet displays the current load on the Grid per browser, i.e., the number of requests waiting on the queue for a browser and the maximum instances of that browser.
GridStatistics() - Constructor for class com.paypal.selion.grid.servlets.GridStatistics
 
GridStatistics(Registry) - Constructor for class com.paypal.selion.grid.servlets.GridStatistics
 

H

hashCode() - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
hashData(String, String) - Static method in class com.paypal.selion.utils.AuthenticationHelper
 
headersMap - Variable in class com.paypal.selion.grid.servlets.transfer.UploadResponder.AbstractUploadResponder
 
HELP_ARG - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Dash argument for displaying the help text
httpServletRequest - Variable in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
 
HUB_CONFIG_ARG - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Dash argument for specifying an alternative Selenium hub json config file
HUB_CONFIG_FILE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Installed/Extracted path to the hubConfig.json file
HUB_CONFIG_FILE_RESOURCE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Resource path to the default hubConfig.json file
HUB_SAUCE_CONFIG_FILE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Installed/Extracted path to the hubSauceConfig.json file
HUB_SAUCE_CONFIG_FILE_RESOURCE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Resource path to the default hubSauceConfig.json file

I

IDLE_TIMEOUT_CAPABILITY - Static variable in class com.paypal.selion.proxy.SeLionSauceProxy.SauceLabsCapability
 
IDS - Static variable in class com.paypal.selion.grid.servlets.GridAutoUpgradeDelegateServlet
Request parameter which may contain the list of nodes which fail to upgrade
incrementWaitingRequests() - Method in class com.paypal.selion.pojos.BrowserStatisticsCollection.BrowserStatistics
 
incrementWaitingRequests(String) - Method in class com.paypal.selion.pojos.BrowserStatisticsCollection
Increments the waiting request for the provided browser name.
initFromPath(String) - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
initFromPath(String) - Method in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact
Initialize the artifact by it's file path.
initFromUploadedArtifact(UploadedArtifact) - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
initFromUploadedArtifact(UploadedArtifact) - Method in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact
Initialize the artifact by an in-bound uploaded artifact
invalidate() - Method in class com.paypal.selion.utils.SauceConfigReader
Invalidates the current Sauce config and causes it to reload from disk at next SauceConfigReader.getInstance() call
IOSDriverJarSpawner - Class in com.paypal.selion.grid
A MobileProcessLauncher for ios-driver stand alone.
IOSDriverJarSpawner(String[]) - Constructor for class com.paypal.selion.grid.IOSDriverJarSpawner
 
IOSDriverJarSpawner(String[], ProcessLauncherOptions) - Constructor for class com.paypal.selion.grid.IOSDriverJarSpawner
 
isAlive() - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
isAuthenticated(String, String) - Method in class com.paypal.selion.utils.SauceLabsRestApi
Determine if the account credentials specified are valid by calling the sauce rest api.
isContinuouslyRestart() - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
 
isContinuouslyRestart() - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
isExpired() - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
isExpired() - Method in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact
Returns true if this ManagedArtifact has expired.
isFileDownloadCheckTimeStampOnInvocation() - Method in interface com.paypal.selion.grid.LauncherOptions
 
isFileDownloadCheckTimeStampOnInvocation() - Method in class com.paypal.selion.grid.LauncherOptions.LauncherOptionsImpl
 
isFileDownloadCleanupOnInvocation() - Method in interface com.paypal.selion.grid.LauncherOptions
 
isFileDownloadCleanupOnInvocation() - Method in class com.paypal.selion.grid.LauncherOptions.LauncherOptionsImpl
 
isIncludeJarsInPresentWorkingDir() - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
 
isIncludeJarsInPresentWorkingDir() - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
isIncludeJarsInSeLionHomeDir() - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
 
isIncludeJarsInSeLionHomeDir() - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
isIncludeJavaSystemProperties() - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
 
isIncludeJavaSystemProperties() - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
isIncludeParentProcessClassPath() - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
 
isIncludeParentProcessClassPath() - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
isIncludeWebDriverBinaryPaths() - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
 
isIncludeWebDriverBinaryPaths() - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
isInitialized() - Method in interface com.paypal.selion.grid.RunnableLauncher
 
isRequired(String) - Method in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact.RequestParameters
Is the input parameter required
isRequireUserCredentials() - Method in class com.paypal.selion.utils.SauceConfigReader
 
isRunning() - Method in interface com.paypal.selion.grid.RunnableLauncher
 
isScheduledForRecycle() - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
 
isSetupLoggingForJavaSubProcess() - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
 
isSetupLoggingForJavaSubProcess() - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 

J

JarSpawner - Class in com.paypal.selion.grid
This is a stand alone class which sets up SeLion dependencies and spawns SeLionGridLauncher.
JarSpawner(String[]) - Constructor for class com.paypal.selion.grid.JarSpawner
 
JarSpawner(String[], ProcessLauncherOptions) - Constructor for class com.paypal.selion.grid.JarSpawner
 
JsonUploadResponder(TransferContext) - Constructor for class com.paypal.selion.grid.servlets.transfer.UploadResponder.JsonUploadResponder
 

K

killProcess(String[], List<ProcessInfo>) - Method in class com.paypal.selion.utils.process.AbstractProcessHandler
 
killProcess(List<ProcessInfo>) - Method in interface com.paypal.selion.utils.process.ProcessHandler
 
killProcess(List<ProcessInfo>) - Method in class com.paypal.selion.utils.process.UnixProcessHandler
 
killProcess(List<ProcessInfo>) - Method in class com.paypal.selion.utils.process.WindowsProcessHandler
 

L

LauncherOptions - Interface in com.paypal.selion.grid
These options give a programmatic way to influence some of the behaviors of a RunnableLauncher.
LauncherOptions.LauncherOptionsImpl - Class in com.paypal.selion.grid
Implements LauncherOptions
LauncherOptionsImpl() - Constructor for class com.paypal.selion.grid.LauncherOptions.LauncherOptionsImpl
 
ListAllNodes - Class in com.paypal.selion.grid.servlets
This is simple RegistryBasedServlet servlet which displays the list of nodes connected to the grid.
ListAllNodes() - Constructor for class com.paypal.selion.grid.servlets.ListAllNodes
 
ListAllNodes(Registry) - Constructor for class com.paypal.selion.grid.servlets.ListAllNodes
 
LogFilesFilter() - Constructor for class com.paypal.selion.node.servlets.LogServlet.LogFilesFilter
 
LOGGER - Static variable in class com.paypal.selion.utils.process.AbstractProcessHandler
 
LOGGING_PROPERTIES_FILE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Installed/Extracted path to the logging.properties file
LOGGING_PROPERTIES_FILE_RESOURCE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Resource path to the default logging.properties file
LoginServlet - Class in com.paypal.selion.grid.servlets
This plain vanilla servlet is responsible for supporting login/logout and display of the main page.
LoginServlet(Registry) - Constructor for class com.paypal.selion.grid.servlets.LoginServlet
 
LoginServlet() - Constructor for class com.paypal.selion.grid.servlets.LoginServlet
 
LOGOUT - Static variable in class com.paypal.selion.grid.servlets.LoginServlet
Request parameter to perform logout.
LOGS_DIR - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Installed path to the SeLion-Grid log files
LogServlet - Class in com.paypal.selion.node.servlets
This is simple servlet which basically display the logs of specified node connected to the grid.
LogServlet() - Constructor for class com.paypal.selion.node.servlets.LogServlet
 
LogServlet.LogFilesFilter - Class in com.paypal.selion.node.servlets
This class filter the .log files from the current directory

M

main(String[]) - Static method in class com.paypal.selion.grid.IOSDriverJarSpawner
 
main(String[]) - Static method in class com.paypal.selion.grid.JarSpawner
 
main(String[]) - Static method in class com.paypal.selion.grid.SelendroidJarSpawner
 
main(String[]) - Static method in class com.paypal.selion.grid.SeLionGridLauncher
 
ManagedArtifact - Interface in com.paypal.selion.grid.servlets.transfer
ManagedArtifact represents a basic artifact successfully saved to SeLion grid by an HTTP POST method call.
ManagedArtifact.RequestParameters - Interface in com.paypal.selion.grid.servlets.transfer
Provides access to and/or represents the HTTP request parameters used by the @{link ManagedArtifact}
managedArtifactList - Variable in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
 
managedArtifactList - Variable in class com.paypal.selion.grid.servlets.transfer.UploadResponder.AbstractUploadResponder
 
ManagedArtifactRepository - Class in com.paypal.selion.grid.servlets.transfer
ManagedArtifactRepository is an implementation of ServerRepository for ManagedArtifact.
managedArtifactRequestParameters - Variable in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
 
managedArtifactUnderProcess - Variable in class com.paypal.selion.grid.servlets.transfer.UploadResponder.AbstractUploadResponder
 
matches(Map<String, Object>, Map<String, Object>) - Method in class com.paypal.selion.grid.matchers.MobileCapabilityMatcher
 
matches(Map<String, Object>, Map<String, Object>) - Method in class com.paypal.selion.grid.matchers.SeLionCapabilitiesMatcher
Deprecated.
 
matches(Map<String, Object>, Map<String, Object>) - Method in class com.paypal.selion.grid.matchers.SeLionSauceCapabilityMatcher
 
matches(String) - Method in class com.paypal.selion.utils.process.AbstractProcessHandler
 
matches(String) - Method in class com.paypal.selion.utils.process.UnixProcessHandler
 
matches(String) - Method in class com.paypal.selion.utils.process.WindowsProcessHandler
 
matchesPathInfo(String) - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
matchesPathInfo(String) - Method in interface com.paypal.selion.grid.servlets.transfer.ManagedArtifact
Matches the artifact based on some path info.
MAX_CACHE - Static variable in class com.paypal.selion.utils.SauceLabsRestApi
 
MAX_FILE_CONFIG_PROPERTY - Static variable in interface com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor
Max file size configuration property retrieved from SeLionConfig file.
MAX_FILE_SIZE - Variable in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
Maximum size permitted for a single upload artifact.
MobileCapabilityMatcher - Class in com.paypal.selion.grid.matchers
This capability matches for nodes of type 'selendroid', 'ios-driver', or 'appium' when the capability 'mobileNodeType' is included in the DesiredCapabilities.
MobileCapabilityMatcher() - Constructor for class com.paypal.selion.grid.matchers.MobileCapabilityMatcher
 
MULTIPART_CONTENT_TYPE - Static variable in interface com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor
Content Type for multipart form-data request.
MultipartUploadRequestProcessor(TransferContext) - Constructor for class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.MultipartUploadRequestProcessor
 

N

NEW_PASSWORD_1 - Static variable in class com.paypal.selion.grid.servlets.PasswordChangeServlet
Form parameter for the new password (first entry)
NEW_PASSWORD_2 - Static variable in class com.paypal.selion.grid.servlets.PasswordChangeServlet
Form parameter for the new password (second entry)
NODE_CONFIG_ARG - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Dash argument for specifying an alternative Selenium node json config file
NODE_CONFIG_FILE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Installed/Extracted path to the nodeConfig.json file
NODE_CONFIG_FILE_RESOURCE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Resource path to the default nodeConfig.json file
NODE_SAUCE_CONFIG_FILE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Installed/Extracted path to the nodeSauceConfig.json file
NODE_SAUCE_CONFIG_FILE_RESOURCE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Resource path to the default nodeSauceConfig.json file
NodeAutoUpgradeServlet - Class in com.paypal.selion.node.servlets
This servlet retrieves the download.json content from the HTTP request and writes it to dowload.json file on the current node
NodeAutoUpgradeServlet() - Constructor for class com.paypal.selion.node.servlets.NodeAutoUpgradeServlet
 
NodeForceRestartServlet - Class in com.paypal.selion.node.servlets
A simple servlet which basically issues a System.exit() when invoked.
NodeForceRestartServlet() - Constructor for class com.paypal.selion.node.servlets.NodeForceRestartServlet
 
NODES - Static variable in class com.paypal.selion.grid.servlets.GridForceRestartDelegateServlet
Request parameter which contains nodes to restart.

O

OLD_PASSWORD - Static variable in class com.paypal.selion.grid.servlets.PasswordChangeServlet
Form parameter for the old password
onEvent(List<RemoteException>, RemoteException) - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
OSPlatform - Enum in com.paypal.selion.utils.process
A simple enum that differentiates Operating systems for internal usage by SeLion.

P

PARAM_JSON - Static variable in class com.paypal.selion.grid.servlets.GridAutoUpgradeDelegateServlet
Request parameter which contains the new download.json to apply
PARENT_TUNNEL - Static variable in class com.paypal.selion.utils.SauceConfigReader
Optional.
PARENT_TUNNEL_CAPABILITY - Static variable in class com.paypal.selion.proxy.SeLionSauceProxy.SauceLabsCapability
 
PARENT_TUNNEL_PARAM - Static variable in class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
Form parameter for the sauce parent tunnel
parse() - Static method in class com.paypal.selion.utils.ConfigParser
 
PASSWORD - Static variable in class com.paypal.selion.grid.servlets.LoginServlet
Request parameter that carries the password
PasswordChangeServlet - Class in com.paypal.selion.grid.servlets
This servlet provides the ability to change the password for servlets which require/use LoginServlet
PasswordChangeServlet() - Constructor for class com.paypal.selion.grid.servlets.PasswordChangeServlet
 
PENDING_NODE_FILE - Static variable in class com.paypal.selion.grid.servlets.GridAutoUpgradeDelegateServlet
 
PING_NODES - Static variable in class com.paypal.selion.grid.servlets.ListAllNodes
Query parameter to use which instructs this servlet to ping the nodes for status.
populateManagedArtifactList() - Method in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
 
populateManagedArtifactList() - Method in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.ApplicationUploadRequestProcessor
 
populateManagedArtifactList() - Method in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.MultipartUploadRequestProcessor
 
potentialProcessToBeKilled() - Method in interface com.paypal.selion.utils.process.ProcessHandler
 
potentialProcessToBeKilled() - Method in class com.paypal.selion.utils.process.UnixProcessHandler
 
potentialProcessToBeKilled() - Method in class com.paypal.selion.utils.process.WindowsProcessHandler
 
process(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.GridAutoUpgradeDelegateServlet
This method constructs the html page that gets the information pertaining to the jars/binaries and their artifact checksums from the user.
process(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.GridForceRestartDelegateServlet
 
process(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.GridStatistics
This method gets a list of BrowserStatisticsCollection.BrowserStatistics and returns over HTTP as a json document
process(HttpServletRequest, HttpServletResponse) - Method in class com.paypal.selion.grid.servlets.ListAllNodes
This method gets all the nodes which are connected to the grid machine from the Registry and displays them in html page.
process(HttpServletRequest, HttpServletResponse, String) - Method in class com.paypal.selion.node.servlets.LogServlet
This method display the log file content
ProcessHandler - Interface in com.paypal.selion.utils.process
This interface represents the capabilities that any custom process handler would need to possess if it is to be used for the auto healing logic of SeLion.
ProcessHandlerException - Exception in com.paypal.selion.utils.process
A custom exception that represents any problems that may arise while in the process of ascertaining a set of ProcessInfo to be recycled.
ProcessHandlerException() - Constructor for exception com.paypal.selion.utils.process.ProcessHandlerException
 
ProcessHandlerException(String) - Constructor for exception com.paypal.selion.utils.process.ProcessHandlerException
 
ProcessHandlerException(String, Throwable) - Constructor for exception com.paypal.selion.utils.process.ProcessHandlerException
 
ProcessHandlerException(Throwable) - Constructor for exception com.paypal.selion.utils.process.ProcessHandlerException
 
ProcessHandlerFactory - Class in com.paypal.selion.utils.process
A simple factory class that produces instances of ProcessHandler as provided by the user via the JSON configuration file.
ProcessInfo - Class in com.paypal.selion.pojos
A simple POJO (Plain Old Java class) that essentially captures the image name and the PID of a process.
ProcessInfo(String, String) - Constructor for class com.paypal.selion.pojos.ProcessInfo
 
ProcessLauncherOptions - Interface in com.paypal.selion.grid
LauncherOptions which apply to RunnableLaunchers which spawn a new process
ProcessLauncherOptions.ProcessLauncherOptionsImpl - Class in com.paypal.selion.grid
ProcessLauncherOptionsImpl() - Constructor for class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
ProcessNames - Enum in com.paypal.selion.pojos
This enum contains the list of processes that are of interest for the SeLion Grid.
ProcessShutdownHandler - Class in com.paypal.selion.node.servlets
A helper class for shutting down of processes started on SeLion Grid node.
ProcessShutdownHandler() - Constructor for class com.paypal.selion.node.servlets.ProcessShutdownHandler
 
PROXY_ID - Static variable in class com.paypal.selion.grid.servlets.SauceServlet
The proxy id that will be used to register to the hub

R

readFile(File) - Static method in class com.paypal.selion.utils.FileBackedStringBuffer
 
readFile(InputStream) - Static method in class com.paypal.selion.utils.FileBackedStringBuffer
 
repository - Variable in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
 
requestNodeShutdown() - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
Gracefully shuts the node down by;

1.
requestUrl - Variable in class com.paypal.selion.grid.servlets.transfer.UploadResponder.AbstractUploadResponder
 
REQUIRE_USER_CREDENTIALS - Static variable in class com.paypal.selion.utils.SauceConfigReader
Optional.
REQUIRE_USER_CREDENTIALS_PARAM - Static variable in class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
Form parameter for require user supplied sauce credentials
RESOURCE_PAGE_FILE - Static variable in class com.paypal.selion.grid.servlets.GridAutoUpgradeDelegateServlet
Resource path to the grid auto upgrade html template file
RESOURCE_PAGE_FILE - Static variable in class com.paypal.selion.grid.servlets.GridForceRestartDelegateServlet
Resource path to the grid auto upgrade html template file
RESOURCE_PAGE_FILE - Static variable in class com.paypal.selion.grid.servlets.ListAllNodes
 
RESOURCE_PAGE_FILE - Static variable in class com.paypal.selion.grid.servlets.PasswordChangeServlet
Resource path to the password change html template file
RESOURCE_PAGE_FILE - Static variable in class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
Resource path to the sauce config html file
respond() - Method in class com.paypal.selion.grid.servlets.transfer.DownloadResponder
Sends a response over the HTTP servlet for the current TransferContext.
respond() - Method in class com.paypal.selion.grid.servlets.transfer.UploadResponder.AbstractUploadResponder
 
respond() - Method in interface com.paypal.selion.grid.servlets.transfer.UploadResponder
Responds into HttpServletResponse.
respondAsHtmlUsingArgsAndTemplateWithHttpStatus(HttpServletResponse, String, int, Object...) - Static method in class com.paypal.selion.utils.ServletHelper
Sends a HTTP response as a text/html document and with a HTTP status code.
respondAsHtmlUsingJsonAndTemplateWithHttpStatus(HttpServletResponse, Object, String, int) - Static method in class com.paypal.selion.utils.ServletHelper
Sends a HTTP response as a text/html document and with a HTTP status code.
respondAsHtmlUsingTemplate(HttpServletResponse, String) - Static method in class com.paypal.selion.utils.ServletHelper
Sends a HTTP response as a text/html document.
respondAsHtmlUsingTemplateWithHttpStatus(HttpServletResponse, String, int) - Static method in class com.paypal.selion.utils.ServletHelper
Sends a HTTP response as a text/html document and with a HTTP status code.
respondAsHtmlWithMessage(HttpServletResponse, String) - Static method in class com.paypal.selion.utils.ServletHelper
Utility method used to display a message when re-direction happens in the UI flow.
respondAsJsonWithHttpStatus(HttpServletResponse, Object, int) - Static method in class com.paypal.selion.utils.ServletHelper
Sends a HTTP response as a application/json document and with a HTTP status code.
respondFromRequestProcessor() - Method in class com.paypal.selion.grid.servlets.transfer.UploadResponder.AbstractUploadResponder
 
respondFromRequestProcessor() - Method in class com.paypal.selion.grid.servlets.transfer.UploadResponder.JsonUploadResponder
 
respondFromRequestProcessor() - Method in class com.paypal.selion.grid.servlets.transfer.UploadResponder.TextPlainUploadResponder
 
RETRY_PARAM - Static variable in class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
Form parameter for retry count on errors communicating with sauce api
ROLE_ARG - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Dash argument for specifying the Selenium role <hub|node>
run() - Method in class com.paypal.selion.grid.IOSDriverJarSpawner
 
run() - Method in class com.paypal.selion.grid.SelendroidJarSpawner
 
run() - Method in class com.paypal.selion.grid.ThreadedLauncher
 
run() - Method in class com.paypal.selion.utils.process.StreamGobbler
 
RunnableLauncher - Interface in com.paypal.selion.grid
Interface which extends Runnable and adds some additional methods
RunnableLauncher.InstanceType - Enum in com.paypal.selion.grid
Maps to a type of WebDriver instance.

S

SAUCE_API_KEY_CAPABILITY - Static variable in class com.paypal.selion.proxy.SeLionSauceProxy.SauceLabsCapability
 
SAUCE_CONFIG_FILE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Installed/Extracted path to the sauceConfig.json file
SAUCE_CONFIG_FILE_RESOURCE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Resource path to the default sauceConfig.json file
SAUCE_GRID_HOMEPAGE_URL - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
URL to the SeLion sauce grid home page
SAUCE_RETRY - Static variable in class com.paypal.selion.utils.SauceConfigReader
Optional.
SAUCE_TIMEOUT - Static variable in class com.paypal.selion.utils.SauceConfigReader
Optional.
SAUCE_URL - Static variable in class com.paypal.selion.utils.SauceConfigReader
Required.
SAUCE_URL_PARAM - Static variable in class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
Form parameter for sauce url
SAUCE_USER_NAME_CAPABILITY - Static variable in class com.paypal.selion.proxy.SeLionSauceProxy.SauceLabsCapability
 
SauceConfigChangeServlet - Class in com.paypal.selion.grid.servlets
This RegistryBasedServlet based servlet updates the Sauce Configuration json file based on the input provided via POST operation and re-loads the SauceConfigReader properties.
SauceConfigChangeServlet(Registry) - Constructor for class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
 
SauceConfigChangeServlet() - Constructor for class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
 
SauceConfigReader - Class in com.paypal.selion.utils
A configuration utility that is internally used by SeLion to parse sauce configuration json file.
SauceLabsCapability() - Constructor for class com.paypal.selion.proxy.SeLionSauceProxy.SauceLabsCapability
 
SauceLabsRestApi - Class in com.paypal.selion.utils
A simple helper class for querying some of the sauce labs account details via their rest api.
SauceLabsRestApi() - Constructor for class com.paypal.selion.utils.SauceLabsRestApi
Creates a new instance.
SauceServlet - Class in com.paypal.selion.grid.servlets
This RegistryBasedServlet based servlet takes care of spinning up or tearing down a virtual sauce node.

This servlet requires the hub to also have LoginServlet available.
SauceServlet(Registry) - Constructor for class com.paypal.selion.grid.servlets.SauceServlet
 
SauceServlet() - Constructor for class com.paypal.selion.grid.servlets.SauceServlet
 
saveContents(UploadedArtifact) - Method in class com.paypal.selion.grid.servlets.transfer.ManagedArtifactRepository
 
saveContents(UploadedArtifact) - Method in interface com.paypal.selion.grid.servlets.transfer.ServerRepository
Saves the UploadedArtifact and returns a repository managed artifact.
SelendroidJarSpawner - Class in com.paypal.selion.grid
A MobileProcessLauncher for Selendroid stand alone.
SelendroidJarSpawner(String[]) - Constructor for class com.paypal.selion.grid.SelendroidJarSpawner
 
SelendroidJarSpawner(String[], ProcessLauncherOptions) - Constructor for class com.paypal.selion.grid.SelendroidJarSpawner
 
SELION_CONFIG_ARG - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Dash argument for specifying an alternative Selion Grid json config file
SELION_CONFIG_FILE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Installed/Extracted path to the SeLionConfig.json file
SELION_CONFIG_FILE_RESOURCE - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Resource path to the default SeLionConfig.json file
SELION_NOCONTINUOUS_ARG - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Dash argument for disabling continuous restart nature of any RunnableLauncher which spawns a new process
SeLionCapabilitiesMatcher - Class in com.paypal.selion.grid.matchers
Deprecated.
in SeLion 1.2.0
SeLionCapabilitiesMatcher() - Constructor for class com.paypal.selion.grid.matchers.SeLionCapabilitiesMatcher
Deprecated.
 
SeLionGridConstants - Class in com.paypal.selion.pojos
A Class which contains String constants used throughout SeLion Grid.
SeLionGridLauncher - Class in com.paypal.selion.grid
The SeLion version of the GridLauncher.
SeLionGridLauncher() - Constructor for class com.paypal.selion.grid.SeLionGridLauncher
 
SeLionGridLogger - Class in com.paypal.selion.logging
A wrapper around JUL Logger which adds additional entering / exiting methods
SeLionRemoteProxy - Class in com.paypal.selion.proxy
This is a customized DefaultRemoteProxy for SeLion.
SeLionRemoteProxy(RegistrationRequest, Registry) - Constructor for class com.paypal.selion.proxy.SeLionRemoteProxy
 
SeLionSauceCapabilityMatcher - Class in com.paypal.selion.grid.matchers
Used in conjunction with a grid that has a SeLionSauceProxy connected.
SeLionSauceCapabilityMatcher() - Constructor for class com.paypal.selion.grid.matchers.SeLionSauceCapabilityMatcher
 
SeLionSauceProxy - Class in com.paypal.selion.proxy
This customized version of BaseRemoteProxy basically helps redirect all traffic to the SauceLabs cloud.
SeLionSauceProxy(RegistrationRequest, Registry) - Constructor for class com.paypal.selion.proxy.SeLionSauceProxy
 
SeLionSauceProxy.SauceLabsCapability - Class in com.paypal.selion.proxy
Sauce labs DesiredCapabilities that SeLionSauceProxy is concerned with
serverRepository - Variable in class com.paypal.selion.grid.servlets.transfer.DownloadRequestProcessor
 
ServerRepository - Interface in com.paypal.selion.grid.servlets.transfer
ServerRepository represents a repository for storing any artifacts of type ManagedArtifact received by HTTP POST upload request.
ServletHelper - Class in com.paypal.selion.utils
A utility class that basically helps in extracting information from Servlet request/responses also has the commonly load the HTML template from resource and write it to the response.
ServletHelper() - Constructor for class com.paypal.selion.utils.ServletHelper
 
setConfigFile(String) - Static method in class com.paypal.selion.utils.ConfigParser
Set the config file
setContinuouslyRestart(boolean) - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
setContinuouslyRestart(boolean) - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
Enable/Disable continuous restart.
setDownloadRequestProcessor(DownloadRequestProcessor) - Method in class com.paypal.selion.grid.servlets.transfer.TransferContext
Sets the DownloadRequestProcessor instance created for this download HTTP request method call.
setFileDownloadCheckTimeStampOnInvocation(boolean) - Method in class com.paypal.selion.grid.LauncherOptions.LauncherOptionsImpl
 
setFileDownloadCheckTimeStampOnInvocation(boolean) - Method in interface com.paypal.selion.grid.LauncherOptions
Enable/Disable download.json time stamp check.
setFileDownloadCleanupOnInvocation(boolean) - Method in class com.paypal.selion.grid.LauncherOptions.LauncherOptionsImpl
 
setFileDownloadCleanupOnInvocation(boolean) - Method in interface com.paypal.selion.grid.LauncherOptions
Enable/Disable clean up of previously downloaded artifacts for subsequent calls to FileDownloader .
setHeadersMap(Map<String, String>) - Method in class com.paypal.selion.grid.servlets.transfer.TransferContext
Set the headers map for this transfer context
setIncludeJarsInPresentWorkingDir(boolean) - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
setIncludeJarsInPresentWorkingDir(boolean) - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
Enable/Disable scanning for jar files in present working directory.
setIncludeJarsInSeLionHomeDir(boolean) - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
setIncludeJarsInSeLionHomeDir(boolean) - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
Enable/Disable scanning for jar files in the SeLionConstants.SELION_HOME_DIR.
setIncludeJavaSystemProperties(boolean) - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
setIncludeJavaSystemProperties(boolean) - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
Enable/Disable forwarding of current Java System Properties to sub process.
setIncludeParentProcessClassPath(boolean) - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
setIncludeParentProcessClassPath(boolean) - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
Enable/Disable forwarding of current Java CLASSPATH to sub process.
setIncludeWebDriverBinaryPaths(boolean) - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
setIncludeWebDriverBinaryPaths(boolean) - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
Enable/Disable passing of the system properties for IEDriver, Chromedriver, and PhantomJS which establish the binary paths.
setMaxBrowserInstances(int) - Method in class com.paypal.selion.pojos.BrowserStatisticsCollection.BrowserStatistics
 
setMaxBrowserInstances(String, int) - Method in class com.paypal.selion.pojos.BrowserStatisticsCollection
Sets the maximum instances for a particular browser.
setSetupLoggingForJavaSubProcess(boolean) - Method in class com.paypal.selion.grid.ProcessLauncherOptions.ProcessLauncherOptionsImpl
 
setSetupLoggingForJavaSubProcess(boolean) - Method in interface com.paypal.selion.grid.ProcessLauncherOptions
Enable/Disable setup of logging.propertis file for the Java sub process AND passing the system property -Djava.util.logging.config.file.
setUploadRequestProcessor(UploadRequestProcessor) - Method in class com.paypal.selion.grid.servlets.transfer.TransferContext
Sets the UploadRequestProcessor instance created for this upload HTTP request method call.
shutdown() - Method in interface com.paypal.selion.grid.RunnableLauncher
Shutdown the launcher
shutdown() - Method in class com.paypal.selion.grid.SeLionGridLauncher
Shutdown the instance
shutdown() - Method in class com.paypal.selion.grid.ThreadedLauncher
Shutdown the instance.
SHUTDOWN_PARAM - Static variable in class com.paypal.selion.grid.servlets.SauceServlet
Request parameter that trigger a proxy shutdown action
shutdownProcesses() - Method in class com.paypal.selion.node.servlets.ProcessShutdownHandler
This method terminates all Node processes that we started.
startPolling() - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
stopPolling() - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
StreamGobbler - Class in com.paypal.selion.utils.process
A utility class that helps in gathering stream data.
StreamGobbler(InputStream) - Constructor for class com.paypal.selion.utils.process.StreamGobbler
 
SUBMIT - Static variable in class com.paypal.selion.grid.servlets.GridForceRestartDelegateServlet
Request parameter used to indicate restart type.
SUPPORTED_BROWSERS - Static variable in class com.paypal.selion.pojos.BrowserInformationCache
 
supportsAutoUpgrade() - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
 
supportsForceShutdown() - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
 
supportsViewLogs() - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
 

T

teardown() - Method in class com.paypal.selion.proxy.SeLionSauceProxy
 
TextPlainUploadResponder(TransferContext) - Constructor for class com.paypal.selion.grid.servlets.transfer.UploadResponder.TextPlainUploadResponder
 
ThreadedLauncher - Class in com.paypal.selion.grid
A RunnableLauncher for SeLion Grid.
ThreadedLauncher(String[]) - Constructor for class com.paypal.selion.grid.ThreadedLauncher
Initialize a new SeLion Grid with the args supplied.
ThreadedLauncher(String[], LauncherOptions) - Constructor for class com.paypal.selion.grid.ThreadedLauncher
Initialize a new SeLion Grid with the args supplied.
ThreadedLauncher(String[], LauncherOptions, List<String>) - Constructor for class com.paypal.selion.grid.ThreadedLauncher
Initialize a new SeLion Grid with the args supplied.
TIMEOUT_PARAM - Static variable in class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
Form parameter for timeout when communicating with sauce api
toString() - Method in class com.paypal.selion.grid.servlets.transfer.DefaultManagedArtifact
 
toString() - Method in class com.paypal.selion.grid.servlets.transfer.DownloadResponder
 
toString() - Method in class com.paypal.selion.grid.servlets.transfer.UploadedArtifact
 
toString() - Method in class com.paypal.selion.pojos.BrowserStatisticsCollection
 
toString() - Method in class com.paypal.selion.pojos.ProcessInfo
 
toString() - Method in class com.paypal.selion.utils.ConfigParser
 
toString() - Method in class com.paypal.selion.utils.FileBackedStringBuffer
 
toString() - Method in class com.paypal.selion.utils.process.StreamGobbler
 
toWriter(Writer) - Method in class com.paypal.selion.utils.FileBackedStringBuffer
 
TransferContext - Class in com.paypal.selion.grid.servlets.transfer
TransferContext acts as a data structure for holding upload and download information required for the upload and download request and response factories.
TransferContext(HttpServletRequest, HttpServletResponse) - Constructor for class com.paypal.selion.grid.servlets.transfer.TransferContext
 
transferContext - Variable in class com.paypal.selion.grid.servlets.transfer.UploadRequestProcessor.AbstractUploadRequestProcessor
 
transferContext - Variable in class com.paypal.selion.grid.servlets.transfer.UploadResponder.AbstractUploadResponder
 
TransferServlet - Class in com.paypal.selion.grid.servlets
TransferServlet is used for processing HTTP POST upload requests to SeLion grid.
TransferServlet() - Constructor for class com.paypal.selion.grid.servlets.TransferServlet
 
TUNNEL_IDENTIFIER - Static variable in class com.paypal.selion.utils.SauceConfigReader
Optional.
TUNNEL_IDENTIFIER_CAPABILITY - Static variable in class com.paypal.selion.proxy.SeLionSauceProxy.SauceLabsCapability
 
TUNNEL_IDENTIFIER_PARAM - Static variable in class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
Form parameter for the sauce tunnel identifier
TYPE_ARG - Static variable in class com.paypal.selion.pojos.SeLionGridConstants
Dash argument for specifying the SeLion Grid hub type <sauce>

U

UnixProcessHandler - Class in com.paypal.selion.utils.process
This class provides for a simple implementation that aims at providing the logic to fetch processes as represented by ProcessNames and also in forcibly killing them on a Unix like environment.
UnixProcessHandler() - Constructor for class com.paypal.selion.utils.process.UnixProcessHandler
 
updateBrowserInfo(URL, String, int) - Method in class com.paypal.selion.pojos.BrowserInformationCache
Updates the Cache for the provide Node represented by the URL instance.
upgradeNode(String) - Method in class com.paypal.selion.proxy.SeLionRemoteProxy
UploadedArtifact - Class in com.paypal.selion.grid.servlets.transfer
UploadedArtifact is data structure to hold uploaded information through HTTP POST method call.
UploadedArtifact.UploadedArtifactBuilder - Class in com.paypal.selion.grid.servlets.transfer
UploadedArtifactBuilder is a builder for UploadedArtifact
UploadedArtifactBuilder(String, byte[]) - Constructor for class com.paypal.selion.grid.servlets.transfer.UploadedArtifact.UploadedArtifactBuilder
Create a UploadedArtifact with basic artifact name and artifact contents.
UploadedArtifactBuilder(String, String, byte[]) - Constructor for class com.paypal.selion.grid.servlets.transfer.UploadedArtifact.UploadedArtifactBuilder
Create a UploadedArtifact with basic artifact name and artifact contents.
UploadedArtifactBuilder(byte[]) - Constructor for class com.paypal.selion.grid.servlets.transfer.UploadedArtifact.UploadedArtifactBuilder
Create a UploadedArtifact with basic artifact name and artifact contents.
UploadRequestProcessor - Interface in com.paypal.selion.grid.servlets.transfer
UploadRequestProcessor processes any HTTP upload request for any type that extends ManagedArtifact.
UploadRequestProcessor.AbstractUploadRequestProcessor - Class in com.paypal.selion.grid.servlets.transfer
AbstractUploadRequestProcessor is abstract super class for concrete implementations that work on types of ManagedArtifact.
UploadRequestProcessor.ApplicationUploadRequestProcessor - Class in com.paypal.selion.grid.servlets.transfer
ApplicationUploadRequestProcessor is an implementation of UploadRequestProcessor.AbstractUploadRequestProcessor for ManagedArtifacts.
UploadRequestProcessor.MultipartUploadRequestProcessor - Class in com.paypal.selion.grid.servlets.transfer
MultipartUploadRequestProcessor is an implementation of UploadRequestProcessor.AbstractUploadRequestProcessor for DefaultManagedArtifact.
UploadResponder - Interface in com.paypal.selion.grid.servlets.transfer
UploadResponder responds to HTTP POST upload request for any type that extends ManagedArtifact.
UploadResponder.AbstractUploadResponder - Class in com.paypal.selion.grid.servlets.transfer
AbstractUploadResponder is abstract super class for concrete implementations that work on types of ManagedArtifact.
UploadResponder.AcceptHeaderEnum - Enum in com.paypal.selion.grid.servlets.transfer
Enum holding the MIME types for HTTP Accept header and the corresponding class that implements the logic for serving the respective content.
UploadResponder.JsonUploadResponder - Class in com.paypal.selion.grid.servlets.transfer
JsonUploadResponder for UploadResponder.AbstractUploadResponder which sends out application/json responses to HttpServletResponse
UploadResponder.TextPlainUploadResponder - Class in com.paypal.selion.grid.servlets.transfer
TextPlainUploadResponder for UploadResponder.AbstractUploadResponder which sends out text/plain responses to HttpServletResponse
USER_ID - Static variable in class com.paypal.selion.grid.servlets.LoginServlet
Request parameter that carries the userid
USERNAME_CAPABILITY - Static variable in class com.paypal.selion.proxy.SeLionSauceProxy.SauceLabsCapability
 
USERNAME_PARAM - Static variable in class com.paypal.selion.grid.servlets.SauceConfigChangeServlet
Form parameter for the sauce username

V

valueOf(String) - Static method in enum com.paypal.selion.grid.RunnableLauncher.InstanceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.paypal.selion.grid.servlets.transfer.UploadResponder.AcceptHeaderEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.paypal.selion.pojos.ProcessNames
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.paypal.selion.utils.process.OSPlatform
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.paypal.selion.grid.RunnableLauncher.InstanceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.paypal.selion.grid.servlets.transfer.UploadResponder.AcceptHeaderEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.paypal.selion.pojos.ProcessNames
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.paypal.selion.utils.process.OSPlatform
Returns an array containing the constants of this enum type, in the order they are declared.

W

WindowsProcessHandler - Class in com.paypal.selion.utils.process
This class provides for a simple implementation that aims at providing the logic to fetch processes as represented by ProcessNames and also in forcibly killing them on a Windows like environment.
WindowsProcessHandler() - Constructor for class com.paypal.selion.utils.process.WindowsProcessHandler
 
withArtifactName(String) - Method in class com.paypal.selion.grid.servlets.transfer.UploadedArtifact.UploadedArtifactBuilder
Build with an artifact name
withFolderName(String) - Method in class com.paypal.selion.grid.servlets.transfer.UploadedArtifact.UploadedArtifactBuilder
Build with a folder name
withMetaInfo(Map<String, String>) - Method in class com.paypal.selion.grid.servlets.transfer.UploadedArtifact.UploadedArtifactBuilder
Build with custom meta information
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2016 PayPal Open Source. All rights reserved.