@Test public void testGetPropertyDescriptors() throws Exception { PutSlack processor = new PutSlack(); List<PropertyDescriptor> pd = processor.getSupportedPropertyDescriptors(); assertEquals("size should be eq", 6, pd.size()); assertTrue(pd.contains(PutSlack.WEBHOOK_TEXT)); assertTrue(pd.contains(PutSlack.WEBHOOK_URL)); assertTrue(pd.contains(PutSlack.CHANNEL)); assertTrue(pd.contains(PutSlack.USERNAME)); assertTrue(pd.contains(PutSlack.ICON_URL)); assertTrue(pd.contains(PutSlack.ICON_EMOJI)); }
@Override public final List<PropertyDescriptor> getSupportedPropertyDescriptors() { return descriptors; }
PutSlack extends AbstractProcessor { @Override public final List<PropertyDescriptor> getSupportedPropertyDescriptors() { return descriptors; } }
PutSlack extends AbstractProcessor { @Override public final List<PropertyDescriptor> getSupportedPropertyDescriptors() { return descriptors; }  }
PutSlack extends AbstractProcessor { @Override public final List<PropertyDescriptor> getSupportedPropertyDescriptors() { return descriptors; }  @Override Set<Relationship> getRelationships(); @Override final List<PropertyDescriptor> getSupportedPropertyDescriptors(); @Override void onTrigger(final ProcessContext context, final ProcessSession session); }
PutSlack extends AbstractProcessor { @Override public final List<PropertyDescriptor> getSupportedPropertyDescriptors() { return descriptors; }  @Override Set<Relationship> getRelationships(); @Override final List<PropertyDescriptor> getSupportedPropertyDescriptors(); @Override void onTrigger(final ProcessContext context, final ProcessSession session); static final PropertyDescriptor WEBHOOK_URL; static final PropertyDescriptor WEBHOOK_TEXT; static final PropertyDescriptor CHANNEL; static final PropertyDescriptor USERNAME; static final PropertyDescriptor ICON_URL; static final PropertyDescriptor ICON_EMOJI; static final Relationship REL_SUCCESS; static final Relationship REL_FAILURE; static final List<PropertyDescriptor> descriptors; static final Set<Relationship> relationships; }