if (resourceSupport.hasLink(StreamTemplate.DEFINITIONS_REL)) { this.streamOperations = new StreamTemplate(restTemplate, resourceSupport, getVersion()); this.runtimeOperations = new RuntimeTemplate(restTemplate, resourceSupport); this.runtimeOperations = null; if (resourceSupport.hasLink(CounterTemplate.COUNTER_RELATION)) { this.counterOperations = new CounterTemplate(restTemplate, resourceSupport); this.fieldValueCounterOperations = new FieldValueCounterTemplate(restTemplate, resourceSupport); this.aggregateCounterOperations = null; if (resourceSupport.hasLink(TaskTemplate.DEFINITIONS_RELATION)) { this.taskOperations = new TaskTemplate(restTemplate, resourceSupport, getVersion()); this.jobOperations = new JobTemplate(restTemplate, resourceSupport); if(resourceSupport.hasLink(SchedulerTemplate.SCHEDULES_RELATION)) { this.schedulerOperations = new SchedulerTemplate(restTemplate, resourceSupport);
if (resourceSupport.hasLink(StreamTemplate.DEFINITIONS_REL)) { this.streamOperations = new StreamTemplate(restTemplate, resourceSupport, getVersion()); this.runtimeOperations = new RuntimeTemplate(restTemplate, resourceSupport); this.runtimeOperations = null; if (resourceSupport.hasLink(CounterTemplate.COUNTER_RELATION)) { this.counterOperations = new CounterTemplate(restTemplate, resourceSupport); this.fieldValueCounterOperations = new FieldValueCounterTemplate(restTemplate, resourceSupport); this.aggregateCounterOperations = null; if (resourceSupport.hasLink(TaskTemplate.DEFINITIONS_RELATION)) { this.taskOperations = new TaskTemplate(restTemplate, resourceSupport, getVersion()); this.jobOperations = new JobTemplate(restTemplate, resourceSupport); if(resourceSupport.hasLink(SchedulerTemplate.SCHEDULES_RELATION)) { this.schedulerOperations = new SchedulerTemplate(restTemplate, resourceSupport);