templates.graphql.appStatusYml Maven / Gradle / Ivy
package templates.graphql;
import java.io.IOException;
import com.fizzed.rocker.ForIterator;
import com.fizzed.rocker.RenderingException;
import com.fizzed.rocker.RockerContent;
import com.fizzed.rocker.RockerOutput;
import com.fizzed.rocker.runtime.DefaultRockerTemplate;
import com.fizzed.rocker.runtime.PlainTextUnloadedClassLoader;
/*
* Auto generated code to render template templates/graphql/appStatusYml.rocker.raw
* Do not edit this file. Changes will eventually be overwritten by Rocker parser!
*/
@SuppressWarnings("unused")
public class appStatusYml extends com.fizzed.rocker.runtime.DefaultRockerModel {
static public com.fizzed.rocker.ContentType getContentType() { return com.fizzed.rocker.ContentType.RAW; }
static public String getTemplateName() { return "appStatusYml.rocker.raw"; }
static public String getTemplatePackageName() { return "templates.graphql"; }
static public String getHeaderHash() { return "2508083"; }
static public long getModifiedAt() { return 1645995245871L; }
static public String[] getArgumentNames() { return new String[] { }; }
static public appStatusYml template() {
return new appStatusYml();
}
@Override
protected DefaultRockerTemplate buildTemplate() throws RenderingException {
// optimized for convenience (runtime auto reloading enabled if rocker.reloading=true)
return com.fizzed.rocker.runtime.RockerRuntime.getInstance().getBootstrap().template(this.getClass(), this);
}
static public class Template extends com.fizzed.rocker.runtime.DefaultRockerTemplate {
// # Put your application specific error code into this file instead of status.yml\n# This file will be merge into the status.yml during the server startup.\n# Please allocate the range for the application error codes within your organization\n# to ensure no reused for an error code across the organization for tracing.\n\n# 20000-29999 common error codes within your business domain.\n# It is highly recommended to have common error codes shared within your organization\n# or your line of business...
static private final byte[] PLAIN_TEXT_0_0;
static {
PlainTextUnloadedClassLoader loader = PlainTextUnloadedClassLoader.tryLoad(appStatusYml.class.getClassLoader(), appStatusYml.class.getName() + "$PlainText", "UTF-8");
PLAIN_TEXT_0_0 = loader.tryGet("PLAIN_TEXT_0_0");
}
public Template(appStatusYml model) {
super(model);
__internal.setCharset("UTF-8");
__internal.setContentType(getContentType());
__internal.setTemplateName(getTemplateName());
__internal.setTemplatePackageName(getTemplatePackageName());
}
@Override
protected void __doRender() throws IOException, RenderingException {
// PlainText @ [1:1]
__internal.aboutToExecutePosInTemplate(1, 1);
__internal.writeValue(PLAIN_TEXT_0_0);
}
}
private static class PlainText {
static private final String PLAIN_TEXT_0_0 = "# Put your application specific error code into this file instead of status.yml\n# This file will be merge into the status.yml during the server startup.\n# Please allocate the range for the application error codes within your organization\n# to ensure no reused for an error code across the organization for tracing.\n\n# 20000-29999 common error codes within your business domain.\n# It is highly recommended to have common error codes shared within your organization\n# or your line of business and put them into the externalized status.yml file.\n\n# 30000-99999 customize error code that cannot be found in common range.\n# Only use this section if you cannot make your error code into 20000-29999 range on time.\n# In this case, the error code defined here will be merged to the status.yml during startup.\n# To ensure there is no reuse of error code, this application will use the range 30000-31000.\nERR30000:\n statusCode: 400\n code: ERR30000\n message: FIRST_ERROR_IN_APP\n description: This is is the first error in this example application.\n";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy