Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.yammer.dropwizard.tasks;
 
 
An arbitrary administrative task which can be performed via the internal service interface.

See also:
TaskServlet
public abstract class Task {
    private final String name;

    
Create a new task with the given name.

Parameters:
name the task's name
    protected Task(String name) {
        this. = name;
    }

    
Returns the task's name,

Returns:
the task's name
    public String getName() {
        return ;
    }

    
Executes the task.

Parameters:
parameters the query string parameters
output a java.io.PrintWriter wrapping the output stream of the task
Throws:
java.lang.Exception if something goes wrong
    public abstract void execute(ImmutableMultimap<StringStringparameters,
                                 PrintWriter outputthrows Exception;
New to GrepCode? Check out our FAQ X