| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceDags.Error |
static class |
ResourceDags.Message |
| Modifier and Type | Field and Description |
|---|---|
static String |
__BUSES |
static String |
__DAGS |
static String |
__EVENTS |
static String |
__NODES |
static String |
__STATES |
static String |
__SUBS |
static String |
_INFO |
static String |
_JOURNAL |
static String |
_RELOAD |
static String |
_TOPOLOGICAL |
static String |
RESOURCE_PATH |
| Constructor and Description |
|---|
ResourceDags() |
| Modifier and Type | Method and Description |
|---|---|
org.glassfish.jersey.server.mvc.Viewable |
dagGET_HTML(String dagkey) |
Dag |
dagGET_JSON(String dagkey) |
DagInfo |
dagInfoGET_JSON(String dagkey) |
List<DagInfo> |
dagInfosGET_JSON() |
org.glassfish.jersey.server.mvc.Viewable |
dagListGET_HTML() |
javax.ws.rs.core.Response |
dagNodeCleanBusPOST(String dagkey,
Bus.Scope scope,
String node) |
javax.ws.rs.core.Response |
dagNodeCleanPOST(String dagkey,
String node,
Bus.Scope scope) |
javax.ws.rs.core.Response |
dagNodeEventBusSendPATCH(String cleanerId,
String dagkey,
Bus.Scope scope,
String node,
BusEvent.Type eventType) |
javax.ws.rs.core.Response |
dagNodeEventSendPATCH(String cleanerId,
String dagkey,
String node,
BusEvent.Type eventType,
Bus.Scope scope) |
Dag.Node |
dagNodeGET_JSON(String dagkey,
String node) |
Collection<Dag.Node> |
dagNodesGET_JSON(String dagkey) |
javax.ws.rs.core.Response |
dagNodeStateBusPATCH_JSON(String dagkey,
Bus.Scope scope,
String nodename,
DagOnSteroids.NodeCleaner.NodeState newState) |
DagOnSteroids.NodeCleaner.NodeState |
dagNodeStateGET_JSONfinal(String dagkey,
Bus.Scope scope,
String nodename) |
DagOnSteroids.NodeCleaner.NodeState |
dagNodeStateGET_JSONfinal(String dagkey,
String nodename,
Bus.Scope scope) |
javax.ws.rs.core.Response |
dagNodeStatePATCH_JSON(String dagkey,
String node,
DagOnSteroids.NodeCleaner.NodeState state,
Bus.Scope scope) |
javax.ws.rs.core.Response |
dagReloadAllPOST() |
javax.ws.rs.core.Response |
dagReloadThisPOST(String dagkey) |
org.glassfish.jersey.server.mvc.Viewable |
dagsGET_HTML() |
String |
pingGET() |
void |
postConstruct() |
javax.ws.rs.core.Response |
rebuildCancelDagBusDELETE(String dagkey,
Bus.Scope scope) |
javax.ws.rs.core.Response |
rebuildCancelDagDELETE(String dagkey,
Bus.Scope scope) |
javax.ws.rs.core.Response |
rebuildCancelDagSubBusDELETE(String dagkey,
Bus.Scope scope,
String subkey) |
javax.ws.rs.core.Response |
rebuildCancelDagSubDELETE(String dagkey,
String subkey,
Bus.Scope scope) |
javax.ws.rs.core.Response |
rebuildDag_PATCH(String dagkey,
Bus.Scope scope,
String onlyThisNodeAndSuccessors) |
javax.ws.rs.core.Response |
rebuildDagBus_PATCH(String dagkey,
Bus.Scope scope,
String onlyThisNodeAndSuccessors) |
javax.ws.rs.core.Response |
rebuildDagBusSub_PATCH(String dagkey,
Bus.Scope scope,
String subkey,
String onlyThisNodeAndSuccessors) |
javax.ws.rs.core.Response |
rebuildDagSub_PATCH(String dagkey,
String subkey,
String onlyThisNodeAndSuccessors,
Bus.Scope scope) |
String |
rebuildJournalDag_GET_TEXT_PLAIN(String dagkey,
Bus.Scope scope) |
String |
rebuildJournalDagBus_GET_TEXT_PLAIN(String dagkey,
Bus.Scope scope) |
void |
subDagDELETE(String dagkey,
String subkey) |
org.glassfish.jersey.server.mvc.Viewable |
subDagGET_HTML(String dagkey,
String subkey,
String order) |
Dag |
subDagGET_JSON(String dagkey,
String subkey,
String order) |
String |
subDagPOST(Set<String> nodeNames,
String dagkey) |
Collection<Dag.SubDag> |
subDagsGET(String dagkey) |
List<String> |
topologicalGET_JSON(String dagkey,
String type) |
void |
update(Observable o,
Object arg) |
public static final String RESOURCE_PATH
public static final String __DAGS
public static final String __BUSES
public static final String __SUBS
public static final String __NODES
public static final String __STATES
public static final String __EVENTS
public static final String _INFO
public static final String _JOURNAL
public static final String _RELOAD
public static final String _TOPOLOGICAL
public ResourceDags()
throws IOException
IOException@PostConstruct public void postConstruct()
public void update(Observable o, Object arg)
@GET @Path(value="") @Produces(value="text/plain") public String pingGET()
@POST @Path(value="/reload") @Produces(value="application/json") public javax.ws.rs.core.Response dagReloadAllPOST()
@POST
@Path(value="/reload/{dag}")
@Produces(value="application/json")
public javax.ws.rs.core.Response dagReloadThisPOST(@PathParam(value="dag")
String dagkey)
@GET
@Path(value="/dag-list")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable dagListGET_HTML()
throws IOException
IOException@GET @Path(value="/dags/") @Produces(value="application/json") public List<DagInfo> dagInfosGET_JSON() throws IOException
IOException@GET
@Path(value="/dags/")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable dagsGET_HTML()
throws IOException
IOException@GET
@Path(value="/dags/{dag}")
@Produces(value="application/json")
public Dag dagGET_JSON(@PathParam(value="dag")
String dagkey)
throws IOException
IOException@GET
@Path(value="/dags/{dag}/info")
@Produces(value="application/json")
public DagInfo dagInfoGET_JSON(@PathParam(value="dag")
String dagkey)
throws Exception
Exception@GET
@Path(value="/dags/{dag}")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable dagGET_HTML(@PathParam(value="dag")
String dagkey)
@GET
@Path(value="/dags/{dag}/subs/")
@Produces(value="application/json")
public Collection<Dag.SubDag> subDagsGET(@PathParam(value="dag")
String dagkey)
throws Exception
Exception@POST
@Path(value="/dags/{dag}/subs/")
@Consumes(value="application/json")
@Produces(value="text/plain")
public String subDagPOST(Set<String> nodeNames,
@PathParam(value="dag")
String dagkey)
throws Exception
Exception@GET
@Path(value="/dags/{dag}/subs/{sub}")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable subDagGET_HTML(@PathParam(value="dag")
String dagkey,
@PathParam(value="sub")
String subkey,
@QueryParam(value="order")
String order)
throws Exception
Exception@GET
@Path(value="/dags/{dag}/subs/{sub}")
@Produces(value="application/json")
public Dag subDagGET_JSON(@PathParam(value="dag")
String dagkey,
@PathParam(value="sub")
String subkey,
@QueryParam(value="order")
String order)
throws Exception
Exception@DELETE
@Path(value="/dags/{dag}/subs/{sub}")
public void subDagDELETE(@PathParam(value="dag")
String dagkey,
@PathParam(value="sub")
String subkey)
throws Exception
Exception@GET
@Path(value="/dags/{dag}/topological")
@Produces(value="application/json")
public List<String> topologicalGET_JSON(@PathParam(value="dag")
String dagkey,
@QueryParam(value="type") @DefaultValue(value="id")
String type)
throws Exception
Exception@GET
@Path(value="/dags/{dag}/journal")
@Produces(value="text/plain")
public String rebuildJournalDag_GET_TEXT_PLAIN(@PathParam(value="dag")
String dagkey,
@MatrixParam(value="bus") @DefaultValue(value="JOB")
Bus.Scope scope)
throws Exception
Exception@GET
@Path(value="/dags/{dag}/buses/{bus}/journal")
@Produces(value="text/plain")
public String rebuildJournalDagBus_GET_TEXT_PLAIN(@PathParam(value="dag")
String dagkey,
@PathParam(value="bus")
Bus.Scope scope)
throws Exception
Exception@DELETE
@Path(value="/dags/{dag}")
@Produces(value="application/json")
public javax.ws.rs.core.Response rebuildCancelDagDELETE(@PathParam(value="dag")
String dagkey,
@MatrixParam(value="bus") @DefaultValue(value="JOB")
Bus.Scope scope)
throws Exception
Exception@DELETE
@Path(value="/dags/{dag}/buses/{bus}")
@Produces(value="application/json")
public javax.ws.rs.core.Response rebuildCancelDagBusDELETE(@PathParam(value="dag")
String dagkey,
@PathParam(value="bus")
Bus.Scope scope)
throws Exception
Exception@DELETE
@Path(value="/dags/{dag}/subs/{sub}")
@Produces(value="application/json")
public javax.ws.rs.core.Response rebuildCancelDagSubDELETE(@PathParam(value="dag")
String dagkey,
@PathParam(value="sub")
String subkey,
@MatrixParam(value="bus") @DefaultValue(value="JOB")
Bus.Scope scope)
throws Exception
Exception@DELETE
@Path(value="/dags/{dag}/buses/{bus}/subs/{sub}")
@Produces(value="application/json")
public javax.ws.rs.core.Response rebuildCancelDagSubBusDELETE(@PathParam(value="dag")
String dagkey,
@PathParam(value="bus")
Bus.Scope scope,
@PathParam(value="sub")
String subkey)
throws Exception
Exception@PATCH @Path(value="/dags/{dag}") @Produces(value="application/json") public javax.ws.rs.core.Response rebuildDag_PATCH(@PathParam(value="dag") String dagkey, @MatrixParam(value="bus") @DefaultValue(value="JOB") Bus.Scope scope, @QueryParam(value="onlyThisNodeAndSuccessors") String onlyThisNodeAndSuccessors) throws Exception
Exception@PATCH @Path(value="/dags/{dag}/buses/{bus}") @Produces(value="application/json") public javax.ws.rs.core.Response rebuildDagBus_PATCH(@PathParam(value="dag") String dagkey, @PathParam(value="bus") Bus.Scope scope, @QueryParam(value="onlyThisNodeAndSuccessors") String onlyThisNodeAndSuccessors) throws Exception
Exception@PATCH @Path(value="/dags/{dag}/subs/{sub}") @Produces(value="application/json") public javax.ws.rs.core.Response rebuildDagSub_PATCH(@PathParam(value="dag") String dagkey, @PathParam(value="sub") String subkey, @QueryParam(value="onlyThisNodeAndSuccessors") String onlyThisNodeAndSuccessors, @MatrixParam(value="bus") @DefaultValue(value="JOB") Bus.Scope scope) throws Exception
Exception@PATCH @Path(value="/dags/{dag}/buses/{bus}/subs/{sub}") @Produces(value="application/json") public javax.ws.rs.core.Response rebuildDagBusSub_PATCH(@PathParam(value="dag") String dagkey, @PathParam(value="bus") Bus.Scope scope, @PathParam(value="sub") String subkey, @QueryParam(value="onlyThisNodeAndSuccessors") String onlyThisNodeAndSuccessors) throws Exception
Exception@GET
@Path(value="/dags/{dag}/nodes/")
@Produces(value="application/json")
public Collection<Dag.Node> dagNodesGET_JSON(@PathParam(value="dag")
String dagkey)
throws Exception
Exception@GET
@Path(value="/dags/{dag}/nodes/{node}")
@Produces(value="application/json")
public Dag.Node dagNodeGET_JSON(@PathParam(value="dag")
String dagkey,
@PathParam(value="node")
String node)
throws Exception
Exception@GET
@Path(value="/dags/{dag}/nodes/{node}/states/")
@Produces(value="application/json")
public DagOnSteroids.NodeCleaner.NodeState dagNodeStateGET_JSONfinal(@PathParam(value="dag")
String dagkey,
@PathParam(value="node")
String nodename,
@MatrixParam(value="bus") @DefaultValue(value="JOB")
Bus.Scope scope)
throws Exception
Exception@GET
@Path(value="/dags/{dag}/buses/{bus}/nodes/{node}/states/")
@Produces(value="application/json")
public DagOnSteroids.NodeCleaner.NodeState dagNodeStateGET_JSONfinal(@PathParam(value="dag")
String dagkey,
@PathParam(value="bus")
Bus.Scope scope,
@PathParam(value="node")
String nodename)
throws Exception
Exception@PATCH @Path(value="/dags/{dag}/nodes/{node}") @Produces(value="application/json") public javax.ws.rs.core.Response dagNodeCleanPOST(@PathParam(value="dag") String dagkey, @PathParam(value="node") String node, @MatrixParam(value="bus") @DefaultValue(value="JOB") Bus.Scope scope) throws Exception
Exception@PATCH @Path(value="/dags/{dag}/buses/{bus}/nodes/{node}") @Produces(value="application/json") public javax.ws.rs.core.Response dagNodeCleanBusPOST(@PathParam(value="dag") String dagkey, @PathParam(value="bus") Bus.Scope scope, @PathParam(value="node") String node) throws Exception
Exception@PATCH @Path(value="/dags/{dag}/nodes/{node}/states/{state}") @Produces(value="application/json") public javax.ws.rs.core.Response dagNodeStatePATCH_JSON(@PathParam(value="dag") String dagkey, @PathParam(value="node") String node, @PathParam(value="state") DagOnSteroids.NodeCleaner.NodeState state, @MatrixParam(value="bus") @DefaultValue(value="JOB") Bus.Scope scope) throws Exception
Exception@PATCH @Path(value="/dags/{dag}/buses/{bus}/nodes/{node}/states/{state}") @Produces(value="application/json") public javax.ws.rs.core.Response dagNodeStateBusPATCH_JSON(@PathParam(value="dag") String dagkey, @PathParam(value="bus") Bus.Scope scope, @PathParam(value="node") String nodename, @PathParam(value="state") DagOnSteroids.NodeCleaner.NodeState newState) throws Exception
Exception@PATCH @Path(value="/dags/{dag}/nodes/{node}/events/{event}") @Consumes(value="text/plain") @Produces(value="application/json") public javax.ws.rs.core.Response dagNodeEventSendPATCH(String cleanerId, @PathParam(value="dag") String dagkey, @PathParam(value="node") String node, @PathParam(value="event") BusEvent.Type eventType, @MatrixParam(value="bus") @DefaultValue(value="JOB") Bus.Scope scope)
@PATCH @Path(value="/dags/{dag}/buses/{bus}/nodes/{node}/events/{event}") @Consumes(value="text/plain") @Produces(value="application/json") public javax.ws.rs.core.Response dagNodeEventBusSendPATCH(String cleanerId, @PathParam(value="dag") String dagkey, @PathParam(value="bus") Bus.Scope scope, @PathParam(value="node") String node, @PathParam(value="event") BusEvent.Type eventType)
Copyright © 2017 aequologica. All rights reserved.