@Test public void testGetPropertyDescriptors() throws Exception { DeleteS3Object processor = new DeleteS3Object(); List<PropertyDescriptor> pd = processor.getSupportedPropertyDescriptors(); assertEquals("size should be eq", 23, pd.size()); assertTrue(pd.contains(processor.ACCESS_KEY)); assertTrue(pd.contains(processor.AWS_CREDENTIALS_PROVIDER_SERVICE)); assertTrue(pd.contains(processor.BUCKET)); assertTrue(pd.contains(processor.CREDENTIALS_FILE)); assertTrue(pd.contains(processor.ENDPOINT_OVERRIDE)); assertTrue(pd.contains(processor.FULL_CONTROL_USER_LIST)); assertTrue(pd.contains(processor.KEY)); assertTrue(pd.contains(processor.OWNER)); assertTrue(pd.contains(processor.READ_ACL_LIST)); assertTrue(pd.contains(processor.READ_USER_LIST)); assertTrue(pd.contains(processor.REGION)); assertTrue(pd.contains(processor.SECRET_KEY)); assertTrue(pd.contains(processor.SIGNER_OVERRIDE)); assertTrue(pd.contains(processor.SSL_CONTEXT_SERVICE)); assertTrue(pd.contains(processor.TIMEOUT)); assertTrue(pd.contains(processor.VERSION_ID)); assertTrue(pd.contains(processor.WRITE_ACL_LIST)); assertTrue(pd.contains(processor.WRITE_USER_LIST)); assertTrue(pd.contains(ProxyConfigurationService.PROXY_CONFIGURATION_SERVICE)); assertTrue(pd.contains(processor.PROXY_HOST)); assertTrue(pd.contains(processor.PROXY_HOST_PORT)); assertTrue(pd.contains(processor.PROXY_USERNAME)); assertTrue(pd.contains(processor.PROXY_PASSWORD)); }
@Override protected List<PropertyDescriptor> getSupportedPropertyDescriptors() { return properties; }
DeleteS3Object extends AbstractS3Processor { @Override protected List<PropertyDescriptor> getSupportedPropertyDescriptors() { return properties; } }
DeleteS3Object extends AbstractS3Processor { @Override protected List<PropertyDescriptor> getSupportedPropertyDescriptors() { return properties; }  }
DeleteS3Object extends AbstractS3Processor { @Override protected List<PropertyDescriptor> getSupportedPropertyDescriptors() { return properties; }  @Override void onTrigger(final ProcessContext context, final ProcessSession session); }
DeleteS3Object extends AbstractS3Processor { @Override protected List<PropertyDescriptor> getSupportedPropertyDescriptors() { return properties; }  @Override void onTrigger(final ProcessContext context, final ProcessSession session); static final PropertyDescriptor VERSION_ID; static final List<PropertyDescriptor> properties; }