Codota Logo
DefaultConditionSpecification
Code IndexAdd Codota to your IDE (free)

How to use
DefaultConditionSpecification
in
co.cask.cdap.internal.workflow.condition

Best Java code snippets using co.cask.cdap.internal.workflow.condition.DefaultConditionSpecification (Showing top 10 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: cdapio/cdap

@Override
public void addWorkflowConditionNode(Predicate<WorkflowContext> predicate, List<WorkflowNode> ifBranch,
                   List<WorkflowNode> elseBranch) {
 ConditionSpecification spec = new DefaultConditionSpecification(predicate.getClass().getName(),
                                 predicate.getClass().getSimpleName(), "",
                                 new HashMap<String, String>(),
                                 new HashSet<String>());
 nodes.add(new WorkflowConditionNode(spec.getName(), spec, ifBranch, elseBranch));
}
origin: cdapio/cdap

@Override
public void addWorkflowConditionNode(Predicate<WorkflowContext> predicate, List<WorkflowNode> ifBranch,
                   List<WorkflowNode> elseBranch) {
 ConditionSpecification spec = new DefaultConditionSpecification(predicate.getClass().getName(),
                                 predicate.getClass().getSimpleName(), "",
                                 new HashMap<String, String>(),
                                 new HashSet<String>());
 currentBranch.add(new WorkflowConditionNode(spec.getName(), spec, ifBranch, elseBranch));
}
origin: caskdata/cdap

@Override
public ConditionSpecification deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)
 throws JsonParseException {
 JsonObject jsonObj = json.getAsJsonObject();
 String className = jsonObj.get("className").getAsString();
 String name = jsonObj.get("name").getAsString();
 String description = jsonObj.get("description").getAsString();
 Set<String> datasets = deserializeSet(jsonObj.get("datasets"), context, String.class);
 Map<String, String> properties = deserializeMap(jsonObj.get("properties"), context, String.class);
 return new DefaultConditionSpecification(className, name, description, properties, datasets);
}
origin: cdapio/cdap

@Override
public void addWorkflowConditionNode(Predicate<WorkflowContext> predicate, List<WorkflowNode> ifBranch,
                   List<WorkflowNode> elseBranch) {
 ConditionSpecification spec = new DefaultConditionSpecification(predicate.getClass().getName(),
                                 predicate.getClass().getSimpleName(), "",
                                 new HashMap<String, String>(),
                                 new HashSet<String>());
 currentBranch.add(new WorkflowConditionNode(spec.getName(), spec, ifBranch, elseBranch));
}
origin: co.cask.cdap/cdap-proto

@Override
public ConditionSpecification deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)
 throws JsonParseException {
 JsonObject jsonObj = json.getAsJsonObject();
 String className = jsonObj.get("className").getAsString();
 String name = jsonObj.get("name").getAsString();
 String description = jsonObj.get("description").getAsString();
 Set<String> datasets = deserializeSet(jsonObj.get("datasets"), context, String.class);
 Map<String, String> properties = deserializeMap(jsonObj.get("properties"), context, String.class);
 return new DefaultConditionSpecification(className, name, description, properties, datasets);
}
origin: co.cask.cdap/cdap-app-fabric

@Override
public void addWorkflowConditionNode(Predicate<WorkflowContext> predicate, List<WorkflowNode> ifBranch,
                   List<WorkflowNode> elseBranch) {
 ConditionSpecification spec = new DefaultConditionSpecification(predicate.getClass().getName(),
                                 predicate.getClass().getSimpleName(), "",
                                 new HashMap<String, String>(),
                                 new HashSet<String>());
 currentBranch.add(new WorkflowConditionNode(spec.getName(), spec, ifBranch, elseBranch));
}
origin: co.cask.cdap/cdap-app-fabric

@Override
public void addWorkflowConditionNode(Predicate<WorkflowContext> predicate, List<WorkflowNode> ifBranch,
                   List<WorkflowNode> elseBranch) {
 ConditionSpecification spec = new DefaultConditionSpecification(predicate.getClass().getName(),
                                 predicate.getClass().getSimpleName(), "",
                                 new HashMap<String, String>(),
                                 new HashSet<String>());
 nodes.add(new WorkflowConditionNode(spec.getName(), spec, ifBranch, elseBranch));
}
origin: co.cask.cdap/cdap-app-fabric

@Override
public void addWorkflowConditionNode(Predicate<WorkflowContext> predicate, List<WorkflowNode> ifBranch,
                   List<WorkflowNode> elseBranch) {
 ConditionSpecification spec = new DefaultConditionSpecification(predicate.getClass().getName(),
                                 predicate.getClass().getSimpleName(), "",
                                 new HashMap<String, String>(),
                                 new HashSet<String>());
 currentBranch.add(new WorkflowConditionNode(spec.getName(), spec, ifBranch, elseBranch));
}
origin: cdapio/cdap

private DefaultConditionSpecification createSpecification() {
 Set<String> datasets = new HashSet<>();
 Reflections.visit(condition, condition.getClass(), new PropertyFieldExtractor(properties),
          new DataSetFieldExtractor(datasets));
 return new DefaultConditionSpecification(condition.getClass().getName(), name, description, properties, datasets);
}
origin: co.cask.cdap/cdap-app-fabric

private DefaultConditionSpecification createSpecification() {
 Set<String> datasets = new HashSet<>();
 Reflections.visit(condition, condition.getClass(), new PropertyFieldExtractor(properties),
          new DataSetFieldExtractor(datasets));
 return new DefaultConditionSpecification(condition.getClass().getName(), name, description, properties, datasets);
}
co.cask.cdap.internal.workflow.conditionDefaultConditionSpecification

Javadoc

The default implementation for a ConditionSpecification.

Most used methods

  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • orElseThrow (Optional)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • JOptionPane (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now