Remove convenience accessor for job.getIdentifier()
This commit is contained in:
@@ -138,16 +138,6 @@ public class JobExecution extends Entity {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Accessor for the runtime information of this execution.
|
||||
*
|
||||
* @return the {@link JobRuntimeInformation} that was used to start this job
|
||||
* execution.
|
||||
*/
|
||||
public JobIdentifier getJobIdentifier() {
|
||||
return job.getIdentifier();
|
||||
}
|
||||
|
||||
/**
|
||||
* Accessor for the potentially multiple step contexts that are in progress.
|
||||
* In a single-threaded, sequential execution there would normally be only
|
||||
|
||||
@@ -100,7 +100,7 @@ public class JobExecutionTests extends TestCase {
|
||||
}
|
||||
|
||||
public void testContextContainsInfo() throws Exception {
|
||||
assertEquals("foo", context.getJobIdentifier().getName());
|
||||
assertEquals("foo", context.getJob().getIdentifier().getName());
|
||||
}
|
||||
|
||||
public void testNullContexts() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user