@Test public void testGetPath() { runner.setProperty(ListFile.DIRECTORY, "/dir/test1"); assertEquals("/dir/test1", processor.getPath(context)); runner.setProperty(ListFile.DIRECTORY, "${literal(\"/DIR/TEST2\"):toLower()}"); assertEquals("/dir/test2", processor.getPath(context)); }
@Override protected String getPath(final ProcessContext context) { return context.getProperty(DIRECTORY).evaluateAttributeExpressions().getValue(); }
ListFile extends AbstractListProcessor<FileInfo> { @Override protected String getPath(final ProcessContext context) { return context.getProperty(DIRECTORY).evaluateAttributeExpressions().getValue(); } }
ListFile extends AbstractListProcessor<FileInfo> { @Override protected String getPath(final ProcessContext context) { return context.getProperty(DIRECTORY).evaluateAttributeExpressions().getValue(); }  }
ListFile extends AbstractListProcessor<FileInfo> { @Override protected String getPath(final ProcessContext context) { return context.getProperty(DIRECTORY).evaluateAttributeExpressions().getValue(); }  @Override Set<Relationship> getRelationships(); @OnScheduled void onScheduled(final ProcessContext context); }
ListFile extends AbstractListProcessor<FileInfo> { @Override protected String getPath(final ProcessContext context) { return context.getProperty(DIRECTORY).evaluateAttributeExpressions().getValue(); }  @Override Set<Relationship> getRelationships(); @OnScheduled void onScheduled(final ProcessContext context); static final PropertyDescriptor DIRECTORY; static final PropertyDescriptor RECURSE; static final PropertyDescriptor DIRECTORY_LOCATION; static final PropertyDescriptor FILE_FILTER; static final PropertyDescriptor PATH_FILTER; static final PropertyDescriptor MIN_AGE; static final PropertyDescriptor MAX_AGE; static final PropertyDescriptor MIN_SIZE; static final PropertyDescriptor MAX_SIZE; static final PropertyDescriptor IGNORE_HIDDEN_FILES; static final String FILE_CREATION_TIME_ATTRIBUTE; static final String FILE_LAST_MODIFY_TIME_ATTRIBUTE; static final String FILE_LAST_ACCESS_TIME_ATTRIBUTE; static final String FILE_SIZE_ATTRIBUTE; static final String FILE_OWNER_ATTRIBUTE; static final String FILE_GROUP_ATTRIBUTE; static final String FILE_PERMISSIONS_ATTRIBUTE; static final String FILE_MODIFY_DATE_ATTR_FORMAT; }