com.pyxis.greenhopper.gadget
Class AbstractResource
java.lang.Object
com.pyxis.greenhopper.gadget.AbstractResource
- Direct Known Subclasses:
- CardViewGadgetResource, ChartDataResource, ContextResource, GreenHopperRessource, ProgressBarGadgetResource, TaskBoardGadgetResource, TBMappingResource, VersionBoardResource, WatchedFieldsResource
public abstract class AbstractResource
- extends java.lang.Object
Parent class of all resource classes. Provides helper methods to return error and validation responses
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROJECT_PREFIX
public static final java.lang.String PROJECT_PREFIX
- See Also:
- Constant Field Values
AbstractResource
public AbstractResource()
createErrorResponse
protected javax.ws.rs.core.Response createErrorResponse(java.util.Collection<ValidationError> errors)
createIndexingUnavailableResponse
protected javax.ws.rs.core.Response createIndexingUnavailableResponse(java.lang.String message)
createValidationResponse
protected javax.ws.rs.core.Response createValidationResponse(java.util.Collection<ValidationError> errors)
Copyright © 2007-2011 Atlassian. All Rights Reserved.