Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.pity.api.reporting;
 
The ResultCollector is how tasks will provide collected data to the larger system. No not ever create this object yourself, it must be injected into your task.
public interface ResultCollector {
    
Collecting io.pity.api.environment.EnvironmentData will include it in the results that is published.
    void collect(EnvironmentData environmentData);

    
Collecting io.pity.api.execution.CommandExecutionResult will include it in the results that is published.
    void collect(CommandExecutionResult commandExecutionResult);
New to GrepCode? Check out our FAQ X