final enum class org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat extends java.lang.Enum
{
public static final enum org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat RAW;
public static final enum org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat PRE;
public static final enum org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat JSON;
public static final enum org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat CSV;
public static final enum org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat XLSX;
private final org.finos.legend.engine.ide.api.execution.function.manager.ContentType defaultContentType;
private final java.lang.String contentDisposition;
private static final org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat[] $VALUES;
public static org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat[] values()
{
java.lang.Object v;
org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat[] v;
v = <org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat[] $VALUES>;
v = virtualinvoke v.<java.lang.Object: java.lang.Object clone()>();
return v;
}
public static org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat valueOf(java.lang.String)
{
java.lang.String v;
java.lang.Enum v;
v := @parameter: java.lang.String;
v = staticinvoke <java.lang.Enum: java.lang.Enum valueOf(java.lang.Class,java.lang.String)>(class "Lorg/finos/legend/engine/ide/api/execution/function/manager/OutputFormat;", v);
return v;
}
private void <init>(java.lang.String, int, org.finos.legend.engine.ide.api.execution.function.manager.ContentType)
{
org.finos.legend.engine.ide.api.execution.function.manager.ContentType v;
org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat v;
int v;
java.lang.String v;
v := @this: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat;
v := @parameter: java.lang.String;
v := @parameter: int;
v := @parameter: org.finos.legend.engine.ide.api.execution.function.manager.ContentType;
specialinvoke v.<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: void <init>(java.lang.String,int,org.finos.legend.engine.ide.api.execution.function.manager.ContentType,java.lang.String)>(v, v, v, null);
return;
}
private void <init>(java.lang.String, int, org.finos.legend.engine.ide.api.execution.function.manager.ContentType, java.lang.String)
{
org.finos.legend.engine.ide.api.execution.function.manager.ContentType v;
org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat v;
int v;
java.lang.String v, v;
v := @this: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat;
v := @parameter: java.lang.String;
v := @parameter: int;
v := @parameter: org.finos.legend.engine.ide.api.execution.function.manager.ContentType;
v := @parameter: java.lang.String;
specialinvoke v.<java.lang.Enum: void <init>(java.lang.String,int)>(v, v);
v.<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.ContentType defaultContentType> = v;
v.<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: java.lang.String contentDisposition> = v;
return;
}
public org.finos.legend.engine.ide.api.execution.function.manager.ContentType getDefaultContentType()
{
org.finos.legend.engine.ide.api.execution.function.manager.ContentType v;
org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat v;
v := @this: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat;
v = v.<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.ContentType defaultContentType>;
return v;
}
public java.lang.String getDefaultContentDisposition()
{
java.lang.String v;
org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat v;
v := @this: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat;
v = v.<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: java.lang.String contentDisposition>;
return v;
}
private static org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat[] $values()
{
org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat v, v, v, v, v;
org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat[] v;
v = newarray (org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat)[5];
v = <org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat RAW>;
v[0] = v;
v = <org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat PRE>;
v[1] = v;
v = <org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat JSON>;
v[2] = v;
v = <org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat CSV>;
v[3] = v;
v = <org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat XLSX>;
v[4] = v;
return v;
}
static void <clinit>()
{
org.finos.legend.engine.ide.api.execution.function.manager.ContentType v, v, v, v, v;
org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat[] v;
org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat v, v, v, v, v;
v = new org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat;
v = <org.finos.legend.engine.ide.api.execution.function.manager.ContentType: org.finos.legend.engine.ide.api.execution.function.manager.ContentType text>;
specialinvoke v.<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: void <init>(java.lang.String,int,org.finos.legend.engine.ide.api.execution.function.manager.ContentType)>("RAW", 0, v);
<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat RAW> = v;
v = new org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat;
v = <org.finos.legend.engine.ide.api.execution.function.manager.ContentType: org.finos.legend.engine.ide.api.execution.function.manager.ContentType text>;
specialinvoke v.<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: void <init>(java.lang.String,int,org.finos.legend.engine.ide.api.execution.function.manager.ContentType)>("PRE", 1, v);
<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat PRE> = v;
v = new org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat;
v = <org.finos.legend.engine.ide.api.execution.function.manager.ContentType: org.finos.legend.engine.ide.api.execution.function.manager.ContentType json>;
specialinvoke v.<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: void <init>(java.lang.String,int,org.finos.legend.engine.ide.api.execution.function.manager.ContentType)>("JSON", 2, v);
<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat JSON> = v;
v = new org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat;
v = <org.finos.legend.engine.ide.api.execution.function.manager.ContentType: org.finos.legend.engine.ide.api.execution.function.manager.ContentType csv>;
specialinvoke v.<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: void <init>(java.lang.String,int,org.finos.legend.engine.ide.api.execution.function.manager.ContentType,java.lang.String)>("CSV", 3, v, "attachment;filename=result.csv");
<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat CSV> = v;
v = new org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat;
v = <org.finos.legend.engine.ide.api.execution.function.manager.ContentType: org.finos.legend.engine.ide.api.execution.function.manager.ContentType xlsx>;
specialinvoke v.<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: void <init>(java.lang.String,int,org.finos.legend.engine.ide.api.execution.function.manager.ContentType,java.lang.String)>("XLSX", 4, v, "attachment;filename=result.xlsx");
<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat XLSX> = v;
v = staticinvoke <org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat[] $values()>();
<org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat: org.finos.legend.engine.ide.api.execution.function.manager.OutputFormat[] $VALUES> = v;
return;
}
}