@Test public void assertGetFailoverTaskNodePath() { String jobNodePath = TaskNode.builder().type(ExecutionType.FAILOVER).build().getTaskNodePath(); assertThat(FailoverNode.getFailoverTaskNodePath(jobNodePath), is("/state/failover/test_job/" + jobNodePath)); }
static String getFailoverTaskNodePath(final String taskMetaInfo) { return String.format(FAILOVER_TASK, MetaInfo.from(taskMetaInfo).getJobName(), taskMetaInfo); }
FailoverNode { static String getFailoverTaskNodePath(final String taskMetaInfo) { return String.format(FAILOVER_TASK, MetaInfo.from(taskMetaInfo).getJobName(), taskMetaInfo); } }
FailoverNode { static String getFailoverTaskNodePath(final String taskMetaInfo) { return String.format(FAILOVER_TASK, MetaInfo.from(taskMetaInfo).getJobName(), taskMetaInfo); }  }
FailoverNode { static String getFailoverTaskNodePath(final String taskMetaInfo) { return String.format(FAILOVER_TASK, MetaInfo.from(taskMetaInfo).getJobName(), taskMetaInfo); }   }
FailoverNode { static String getFailoverTaskNodePath(final String taskMetaInfo) { return String.format(FAILOVER_TASK, MetaInfo.from(taskMetaInfo).getJobName(), taskMetaInfo); }    }