trait StandardPendingMethodExitSupport extends PendingMethodExitSupport
Provides pending method exit capabilities to an existing method exit manager.
Contains an internal pending action manager.
- Alphabetic
- By Inheritance
- StandardPendingMethodExitSupport
- PendingMethodExitSupport
- PendingMethodExitSupportLike
- PendingRequestSupport
- MethodExitManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
getMethodExitRequest(className: String, methodName: String): Option[Seq[MethodExitRequest]]
Retrieves the method exit requests for the specific class and method.
Retrieves the method exit requests for the specific class and method.
- className
The name of the class targeted by the method exit request
- methodName
The name of the method targeted by the method exit request
- returns
Some collection of method exit requests if they exist, otherwise None
- Definition Classes
- MethodExitManager
-
abstract
def
getMethodExitRequestInfoWithId(requestId: String): Option[MethodExitRequestInfo]
Returns the information for a method exit request with the specified id.
Returns the information for a method exit request with the specified id.
- requestId
The id of the request
- returns
Some method exit information if found, otherwise None
- Definition Classes
- MethodExitManager
-
abstract
def
getMethodExitRequestWithId(requestId: String): Option[MethodExitRequest]
Retrieves the method exit request with the specified id.
Retrieves the method exit request with the specified id.
- requestId
The id of the request
- returns
Some method exit request if it exists, otherwise None
- Definition Classes
- MethodExitManager
-
abstract
def
hasMethodExitRequest(className: String, methodName: String): Boolean
Determines if a method exit request for the specific class and method exists.
Determines if a method exit request for the specific class and method exists.
- className
The name of the class targeted by the method exit request
- methodName
The name of the method targeted by the method exit request
- returns
True if a method exit request exists, otherwise false
- Definition Classes
- MethodExitManager
-
abstract
def
hasMethodExitRequestWithId(requestId: String): Boolean
Determines if a method exit request exists with the specified id.
Determines if a method exit request exists with the specified id.
- requestId
The id of the request
- returns
True if a method exit request exists, otherwise false
- Definition Classes
- MethodExitManager
-
abstract
def
methodExitRequestList: Seq[MethodExitRequestInfo]
Retrieves the list of method exit requests contained by this manager.
Retrieves the list of method exit requests contained by this manager.
- returns
The collection of method exit request information
- Definition Classes
- MethodExitManager
-
abstract
def
methodExitRequestListById: Seq[String]
Retrieves the list of method exit requests contained by this manager.
Retrieves the list of method exit requests contained by this manager.
- returns
The collection of method exit requests by id
- Definition Classes
- MethodExitManager
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
createMethodExitRequest(className: String, methodName: String, extraArguments: JDIRequestArgument*): Try[String]
Creates a new method exit request for the specified class and method.
Creates a new method exit request for the specified class and method.
- className
The name of the class whose method exit events to watch
- methodName
The name of the method whose exit to watch
- extraArguments
Any additional arguments to provide to the request
- returns
Success(id) if successful, otherwise Failure
- Definition Classes
- MethodExitManager
- Note
The method name is purely used for indexing the request in the internal list. You should set a method name filter on the event handler for the method exit event.
-
def
createMethodExitRequestFromInfo(methodExitRequestInfo: MethodExitRequestInfo): Try[String]
Creates a method exit request based on the specified information.
Creates a method exit request based on the specified information.
- methodExitRequestInfo
The information used to create the method exit request
- returns
Success(id) if successful, otherwise Failure
- Definition Classes
- MethodExitManager
-
def
createMethodExitRequestWithId(requestId: String, className: String, methodName: String, extraArguments: JDIRequestArgument*): Try[String]
Creates a new method exit request for the specified method using the method's name.
Creates a new method exit request for the specified method using the method's name.
- requestId
The id of the request used to retrieve and delete it
- className
The name of the class containing the method
- methodName
The name of the method to watch
- extraArguments
Any additional arguments to provide to the request
- returns
Success(id) if successful, otherwise Failure
- Definition Classes
- PendingMethodExitSupport → MethodExitManager
-
def
disablePendingSupport(): Unit
Disables pending support.
Disables pending support.
- Definition Classes
- PendingRequestSupport
-
def
enablePendingSupport(): Unit
Enables pending support.
Enables pending support.
- Definition Classes
- PendingRequestSupport
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPendingSupportEnabled: Boolean
Indicates whether or not pending support is enabled.
Indicates whether or not pending support is enabled.
- returns
True if pending support enabled, otherwise false
- Definition Classes
- PendingRequestSupport
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newRequestId(): String
Generates an id for a new request.
Generates an id for a new request.
- returns
The id as a string
- Attributes
- protected
- Definition Classes
- MethodExitManager
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
pendingActionManager: PendingActionManager[MethodExitRequestInfo]
Represents the manager used to store pending method exit requests and process them later.
Represents the manager used to store pending method exit requests and process them later.
- Attributes
- protected
- Definition Classes
- StandardPendingMethodExitSupport → PendingMethodExitSupport
-
def
pendingMethodExitRequests: Seq[MethodExitRequestInfo]
Retrieves a list of all pending method exit requests.
Retrieves a list of all pending method exit requests.
- returns
The collection of method exit request information
- Definition Classes
- PendingMethodExitSupport → PendingMethodExitSupportLike
-
def
pendingMethodExitRequestsForClass(className: String): Seq[MethodExitRequestInfo]
Retrieves a list of pending method exit requests for the specified class.
Retrieves a list of pending method exit requests for the specified class.
- className
The full name of the class whose pending method exit requests to retrieve
- returns
The collection of successfully-processed method exit requests
- Definition Classes
- PendingMethodExitSupport → PendingMethodExitSupportLike
-
def
processAllPendingMethodExitRequests(): Seq[MethodExitRequestInfo]
Processes all pending method exit requests.
Processes all pending method exit requests.
- returns
The collection of successfully-processed method exit requests
- Definition Classes
- PendingMethodExitSupport → PendingMethodExitSupportLike
-
def
processPendingMethodExitRequestsForClass(className: String): Seq[MethodExitRequestInfo]
Processes all pending method exit requests for the specified class.
Processes all pending method exit requests for the specified class.
- className
The full name of the class whose pending method exit requests to process
- returns
The collection of successfully-processed method exit requests
- Definition Classes
- PendingMethodExitSupport → PendingMethodExitSupportLike
-
def
removeMethodExitRequest(className: String, methodName: String): Boolean
Removes the method exit for the specified method.
Removes the method exit for the specified method.
- className
The name of the class containing the method
- methodName
The name of the method to watch
- returns
True if successfully removed method exit, otherwise false
- Definition Classes
- PendingMethodExitSupport → MethodExitManager
-
def
removeMethodExitRequestWithId(id: String): Boolean
Removes the method exit request with the specified id.
Removes the method exit request with the specified id.
- id
The id of the Method Exit Request
- returns
True if the method exit request was removed (if it existed), otherwise false
- Definition Classes
- PendingMethodExitSupport → MethodExitManager
-
def
setPendingSupport(value: Boolean): Unit
Sets enablement of pending support to the specified value.
Sets enablement of pending support to the specified value.
- value
True if enabling support, otherwise false
- Definition Classes
- PendingRequestSupport
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )