public ContentTemplate withEnabledState(final boolean isEnabled) {
        return this.enabled == isEnabled
                ? this
                : new ContentTemplate(
                        isEnabled,
                        templateNumber,
                        expression,
                        templateType,
                        pipeline,
                        name,
                        description,
                        processorPriority,
                        processorMaxConcurrent);
    }
If isEnabled is different to the current enabled state return a new
{@link ContentTemplate} with the passed enabled state, else return this.
stroom-core-shared/src/main/java/stroom/receive/content/shared/ContentTemplate.java