Tabnine Logo
Edge.dockers
Code IndexAdd Tabnine to your IDE (free)

How to use
dockers
method
in
com.effektif.workflow.api.workflow.diagram.Edge

Best Java code snippets using com.effektif.workflow.api.workflow.diagram.Edge.dockers (Showing top 5 results out of 315)

origin: com.effektif/effektif-workflow-api

public Diagram addEdge(String transitionId, String fromId, String toId, Point...dockers) {
 return addEdge(new Edge()
  .transitionId(transitionId)
  .fromId(fromId)
  .toId(toId)
  .dockers(Arrays.asList(dockers)));
}
origin: effektif/effektif

public Diagram addEdge(String transitionId, String fromId, String toId, Point...dockers) {
 return addEdge(new Edge()
  .transitionId(transitionId)
  .fromId(fromId)
  .toId(toId)
  .dockers(Arrays.asList(dockers)));
}
origin: effektif/effektif

 private Map<String, Edge> readEdgesBySequenceFlowId(XmlElement planeElement) {
  Map<String, Edge> edges = new HashMap<>();
  for (XmlElement edgeElement: planeElement.removeElements(BPMN_DI_URI, "BPMNEdge")) {
   startElement(edgeElement);
   List<Point> edgeWaypoints = new ArrayList<>();
   for (XmlElement pointElement: edgeElement.removeElements(OMG_DI_URI, "waypoint")) {
    startElement(pointElement);
    double x = Double.valueOf(currentXml.removeAttribute(OMG_DI_URI, "x"));
    double y = Double.valueOf(currentXml.removeAttribute(OMG_DI_URI, "y"));
    edgeWaypoints.add(new Point(x, y));
    endElement();
   }

   String id = currentXml.removeAttribute(BPMN_DI_URI, "id");
   String sequenceFlowId = currentXml.removeAttribute(BPMN_DI_URI, "bpmnElement");
   Edge edge = new Edge().id(id).transitionId(sequenceFlowId).dockers(edgeWaypoints);

   edges.put(sequenceFlowId, edge);
   endElement();
  }
  return edges;
 }
}
origin: effektif/effektif

@Test
public void testSetDockers() {
 Edge edge = new Edge();
 List<Point> dockers = new ArrayList<>();
 dockers.add(Point.of(1.0, 2.0));
 dockers.add(Point.of(4.0, 5.0));
 dockers.add(Point.of(6.0, 7.0));
 edge.dockers(dockers);
 assertEquals(dockers, edge.dockers);
 
 dockers.add(Point.of(8.0, 9.0));
 assertNotEquals(dockers, edge.dockers);
 
 edge.dockers(null);
 assertNull(edge.dockers);
}
origin: effektif/effektif

 @Test
 public void testEquals() {
  List<Point> dockers = new ArrayList<>();
  dockers.add(Point.of(1.0, 2.0));
  dockers.add(Point.of(4.0, 5.0));
  dockers.add(Point.of(6.0, 7.0));
  String from = "n1";
  String to = "n2";
  String transId = "t1";
  
  Edge edge1 = new Edge()
   .transitionId(transId)
   .fromId(from)
   .toId(to)
   .dockers(dockers);
  Edge edge2 = new Edge()
   .transitionId(transId)
   .fromId(from)
   .toId(to)
   .dockers(dockers);
  
  assertEquals(edge1, edge2);
  assertEquals(edge1.hashCode(), edge2.hashCode());
 }
}
com.effektif.workflow.api.workflow.diagramEdgedockers

Popular methods of Edge

  • <init>
  • fromId
  • toId
  • transitionId
  • id
  • hashCode

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Option (scala)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now