Package net.officefloor.frame.api.team
Interface Job
- All Superinterfaces:
Runnable
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Method Details
-
getProcessIdentifier
ProcessIdentifier getProcessIdentifier()Obtains the
ProcessIdentifierfor theProcessStatecontaining thisJob.This allows the
Teamexecuting theJobto be aware of theProcessStatecontext in which theJobis to be executed. This is particular relevant forTeamOversightprovided by theExecutive.An example use would be embedding
OfficeFloorwithin an Application Server and using thisProcessIdentifierand aThreadLocalAwareTeamto know the invokingThreadfor interaction withThreadLocalinstances of the Application Server.- Returns:
- Identifier for the
ProcessStatecontaining thisJob - See Also:
-
cancel
-