public UsageTrackerFacilitator (RunnerArgs runnerArgs)
Parameters
runnerArgs
RunnerArgs
UsageTrackerFacilitator
public UsageTrackerFacilitator (boolean shouldTrackUsage)
Parameters
shouldTrackUsage
boolean
Public methods
registerUsageTracker
public void registerUsageTracker (UsageTracker usageTracker)
Parameters
usageTracker
UsageTracker
sendUsages
public void sendUsages ()
Requests that all usages be sent.
shouldTrackUsage
public boolean shouldTrackUsage ()
Returns
boolean
trackUsage
public void trackUsage (String usage,
String version)
Indicates that a particular tool/api was used.
Usage will be dumped at the end of the instrumentation run.
Parameters
usage
String
version
String
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-07-14 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]