IScheduledTask.build(new ScheduledTask().setStatus(ScheduleStatus.PENDING)));
Set<QuotaConfiguration> quotas =
ImmutableSet.of(
new QuotaConfiguration("steve", ResourceAggregates.none().newBuilder()));
IHostAttributes attribute = IHostAttributes.build(
new HostAttributes("host", ImmutableSet.of(new Attribute("attr", ImmutableSet.of("value"))))
.setSlaveId("slave id"));
// A legacy attribute that has a maintenance mode set, but nothing else. These should be
// dropped.
IHostAttributes legacyAttribute = IHostAttributes.build(
new HostAttributes("host", ImmutableSet.<Attribute>of()));
StoredJob job = new StoredJob(
"jobManager",
new JobConfiguration().setKey(new JobKey("owner", "env", "name")));
String frameworkId = "framework_id";
ILock lock = ILock.build(new Lock()