HybridAppPathRewriterOptions.java
672 Bytes
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.cq.mobile.platform.impl.rewriter;
import com.adobe.cq.mobile.platform.impl.rewriter.RenderMode;
public class HybridAppPathRewriterOptions {
private RenderMode mode;
public static final String ATTRIBUTE_REWRITING_OPTIONS = "hybridAppPathRewritingOptions";
public HybridAppPathRewriterOptions() {
this(RenderMode.DEV);
}
public HybridAppPathRewriterOptions(RenderMode mode) {
this.mode = mode;
}
public boolean isPublishMode() {
return this.mode == RenderMode.PUBLISH;
}
public boolean isDevMode() {
return this.mode == RenderMode.DEV;
}
}