// Path: src/main/java/com/indeed/proctor/webapp/db/Environment.java
// public enum Environment {
//     WORKING("trunk", 0),
//     QA("qa", 1),
//     PRODUCTION("production", 2);
// 
//     private final String name;
//     private final int precedence;
//     private Environment(final String name, final int precedence) {
//         this.name = name;
//         this.precedence = precedence;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public int getPrecedence() {
//         return precedence;
//     }
// 
//     private static final Map<String, Environment> LOOKUP = Maps.uniqueIndex(ImmutableList.copyOf(Environment.values()), Functions.toStringFunction());
//     public static Environment fromName(String name) {
//         if(name == null) {
//             return null;
//         } else {
//             return LOOKUP.get(name.toLowerCase());
//         }
//     }
// 
//     @Override
//     public String toString() {
//         return this.getName();
//     }
// }


import com.indeed.proctor.webapp.db.Environment;
import javax.servlet.jsp.PageContext;
package com.indeed.proctor.webapp.extensions.renderer;



/**
 */
public interface BasePageRenderer {
    enum BasePagePosition {
        HEAD,
        NAVBAR_BUTTON,
        FOOTER,
    }

    BasePagePosition getBasePagePosition();

    @Deprecated
    default String getRenderedHtml(final Environment branch) {
        return "";
    }

// Path: src/main/java/com/indeed/proctor/webapp/db/Environment.java
// public enum Environment {
//     WORKING("trunk", 0),
//     QA("qa", 1),
//     PRODUCTION("production", 2);
// 
//     private final String name;
//     private final int precedence;
//     private Environment(final String name, final int precedence) {
//         this.name = name;
//         this.precedence = precedence;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public int getPrecedence() {
//         return precedence;
//     }
// 
//     private static final Map<String, Environment> LOOKUP = Maps.uniqueIndex(ImmutableList.copyOf(Environment.values()), Functions.toStringFunction());
//     public static Environment fromName(String name) {
//         if(name == null) {
//             return null;
//         } else {
//             return LOOKUP.get(name.toLowerCase());
//         }
//     }
// 
//     @Override
//     public String toString() {
//         return this.getName();
//     }
// }


// Path: src/main/java/com/indeed/proctor/webapp/extensions/renderer/BasePageRenderer.java
import com.indeed.proctor.webapp.db.Environment;
import javax.servlet.jsp.PageContext;

package com.indeed.proctor.webapp.extensions.renderer;



/**
 */
public interface BasePageRenderer {
    enum BasePagePosition {
        HEAD,
        NAVBAR_BUTTON,
        FOOTER,
    }

    BasePagePosition getBasePagePosition();

    @Deprecated
    default String getRenderedHtml(final Environment branch) {
        return "";
    }

    default String getRenderedHtml(final PageContext pageContext, final Environment branch) {