Package org.apache.ivory

Examples of org.apache.ivory.Tag


    protected T getEntity() {
        return entity;
    }

    protected Path getCoordPath(Path bundlePath, String coordName) {
        Tag tag = EntityUtil.getWorkflowNameTag(coordName, getEntity());
        return new Path(bundlePath, tag.name());
    }
View Full Code Here


  public void getTagTest() {
    Feed feed = new Feed();
    feed.setName("raw-logs");

    WorkflowNameBuilder<Feed> builder = new WorkflowNameBuilder<Feed>(feed);
    Tag tag = builder.getWorkflowTag("IVORY_FEED_RETENTION_raw-logs");
    Assert.assertEquals(tag, Tag.RETENTION);

    tag = builder.getWorkflowTag("IVORY_FEED_raw-logs");
    Assert.assertNull(tag);
View Full Code Here

TOP

Related Classes of org.apache.ivory.Tag

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.