public class io.vertx.core.file.OpenOptions extends java.lang.Object
{
public static final java.lang.String DEFAULT_PERMS;
public static final boolean DEFAULT_READ;
public static final boolean DEFAULT_WRITE;
public static final boolean DEFAULT_CREATE;
public static final boolean DEFAULT_CREATENEW;
public static final boolean DEFAULT_DSYNC;
public static final boolean DEFAULT_SYNC;
public static final boolean DEFAULT_DELETEONCLOSE;
public static final boolean DEFAULT_TRUNCATEEXISTING;
public static final boolean DEFAULT_SPARSE;
public static final boolean DEFAULT_APPEND;
private java.lang.String perms;
private boolean read;
private boolean write;
private boolean create;
private boolean createNew;
private boolean dsync;
private boolean sync;
private boolean deleteOnClose;
private boolean truncateExisting;
private boolean sparse;
private boolean append;
public void <init>()
{
java.lang.String v;
io.vertx.core.file.OpenOptions v;
v := @this: io.vertx.core.file.OpenOptions;
specialinvoke v.<java.lang.Object: void <init>()>();
v = <io.vertx.core.file.OpenOptions: java.lang.String DEFAULT_PERMS>;
v.<io.vertx.core.file.OpenOptions: java.lang.String perms> = v;
v.<io.vertx.core.file.OpenOptions: boolean read> = 1;
v.<io.vertx.core.file.OpenOptions: boolean write> = 1;
v.<io.vertx.core.file.OpenOptions: boolean create> = 1;
v.<io.vertx.core.file.OpenOptions: boolean createNew> = 0;
v.<io.vertx.core.file.OpenOptions: boolean dsync> = 0;
v.<io.vertx.core.file.OpenOptions: boolean sync> = 0;
v.<io.vertx.core.file.OpenOptions: boolean deleteOnClose> = 0;
v.<io.vertx.core.file.OpenOptions: boolean truncateExisting> = 0;
v.<io.vertx.core.file.OpenOptions: boolean sparse> = 0;
v.<io.vertx.core.file.OpenOptions: boolean append> = 0;
return;
}
public void <init>(io.vertx.core.file.OpenOptions)
{
io.vertx.core.file.OpenOptions v, v;
java.lang.String v, v;
boolean v, v, v, v, v, v, v, v, v, v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: io.vertx.core.file.OpenOptions;
specialinvoke v.<java.lang.Object: void <init>()>();
v = <io.vertx.core.file.OpenOptions: java.lang.String DEFAULT_PERMS>;
v.<io.vertx.core.file.OpenOptions: java.lang.String perms> = v;
v.<io.vertx.core.file.OpenOptions: boolean read> = 1;
v.<io.vertx.core.file.OpenOptions: boolean write> = 1;
v.<io.vertx.core.file.OpenOptions: boolean create> = 1;
v.<io.vertx.core.file.OpenOptions: boolean createNew> = 0;
v.<io.vertx.core.file.OpenOptions: boolean dsync> = 0;
v.<io.vertx.core.file.OpenOptions: boolean sync> = 0;
v.<io.vertx.core.file.OpenOptions: boolean deleteOnClose> = 0;
v.<io.vertx.core.file.OpenOptions: boolean truncateExisting> = 0;
v.<io.vertx.core.file.OpenOptions: boolean sparse> = 0;
v.<io.vertx.core.file.OpenOptions: boolean append> = 0;
v = v.<io.vertx.core.file.OpenOptions: java.lang.String perms>;
v.<io.vertx.core.file.OpenOptions: java.lang.String perms> = v;
v = v.<io.vertx.core.file.OpenOptions: boolean read>;
v.<io.vertx.core.file.OpenOptions: boolean read> = v;
v = v.<io.vertx.core.file.OpenOptions: boolean write>;
v.<io.vertx.core.file.OpenOptions: boolean write> = v;
v = v.<io.vertx.core.file.OpenOptions: boolean create>;
v.<io.vertx.core.file.OpenOptions: boolean create> = v;
v = v.<io.vertx.core.file.OpenOptions: boolean createNew>;
v.<io.vertx.core.file.OpenOptions: boolean createNew> = v;
v = v.<io.vertx.core.file.OpenOptions: boolean dsync>;
v.<io.vertx.core.file.OpenOptions: boolean dsync> = v;
v = v.<io.vertx.core.file.OpenOptions: boolean sync>;
v.<io.vertx.core.file.OpenOptions: boolean sync> = v;
v = v.<io.vertx.core.file.OpenOptions: boolean deleteOnClose>;
v.<io.vertx.core.file.OpenOptions: boolean deleteOnClose> = v;
v = v.<io.vertx.core.file.OpenOptions: boolean truncateExisting>;
v.<io.vertx.core.file.OpenOptions: boolean truncateExisting> = v;
v = v.<io.vertx.core.file.OpenOptions: boolean sparse>;
v.<io.vertx.core.file.OpenOptions: boolean sparse> = v;
v = v.<io.vertx.core.file.OpenOptions: boolean append>;
v.<io.vertx.core.file.OpenOptions: boolean append> = v;
return;
}
public void <init>(io.vertx.core.json.JsonObject)
{
io.vertx.core.json.JsonObject v;
io.vertx.core.file.OpenOptions v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: io.vertx.core.json.JsonObject;
specialinvoke v.<io.vertx.core.file.OpenOptions: void <init>()>();
staticinvoke <io.vertx.core.file.OpenOptionsConverter: void fromJson(java.lang.Iterable,io.vertx.core.file.OpenOptions)>(v, v);
return;
}
public java.lang.String getPerms()
{
java.lang.String v;
io.vertx.core.file.OpenOptions v;
v := @this: io.vertx.core.file.OpenOptions;
v = v.<io.vertx.core.file.OpenOptions: java.lang.String perms>;
return v;
}
public io.vertx.core.file.OpenOptions setPerms(java.lang.String)
{
java.lang.String v;
io.vertx.core.file.OpenOptions v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: java.lang.String;
v.<io.vertx.core.file.OpenOptions: java.lang.String perms> = v;
return v;
}
public boolean isRead()
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v = v.<io.vertx.core.file.OpenOptions: boolean read>;
return v;
}
public io.vertx.core.file.OpenOptions setRead(boolean)
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: boolean;
v.<io.vertx.core.file.OpenOptions: boolean read> = v;
return v;
}
public boolean isWrite()
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v = v.<io.vertx.core.file.OpenOptions: boolean write>;
return v;
}
public io.vertx.core.file.OpenOptions setWrite(boolean)
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: boolean;
v.<io.vertx.core.file.OpenOptions: boolean write> = v;
return v;
}
public boolean isCreate()
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v = v.<io.vertx.core.file.OpenOptions: boolean create>;
return v;
}
public io.vertx.core.file.OpenOptions setCreate(boolean)
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: boolean;
v.<io.vertx.core.file.OpenOptions: boolean create> = v;
return v;
}
public boolean isCreateNew()
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v = v.<io.vertx.core.file.OpenOptions: boolean createNew>;
return v;
}
public io.vertx.core.file.OpenOptions setCreateNew(boolean)
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: boolean;
v.<io.vertx.core.file.OpenOptions: boolean createNew> = v;
return v;
}
public boolean isDeleteOnClose()
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v = v.<io.vertx.core.file.OpenOptions: boolean deleteOnClose>;
return v;
}
public io.vertx.core.file.OpenOptions setDeleteOnClose(boolean)
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: boolean;
v.<io.vertx.core.file.OpenOptions: boolean deleteOnClose> = v;
return v;
}
public boolean isTruncateExisting()
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v = v.<io.vertx.core.file.OpenOptions: boolean truncateExisting>;
return v;
}
public io.vertx.core.file.OpenOptions setTruncateExisting(boolean)
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: boolean;
v.<io.vertx.core.file.OpenOptions: boolean truncateExisting> = v;
return v;
}
public boolean isSparse()
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v = v.<io.vertx.core.file.OpenOptions: boolean sparse>;
return v;
}
public io.vertx.core.file.OpenOptions setSparse(boolean)
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: boolean;
v.<io.vertx.core.file.OpenOptions: boolean sparse> = v;
return v;
}
public boolean isSync()
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v = v.<io.vertx.core.file.OpenOptions: boolean sync>;
return v;
}
public io.vertx.core.file.OpenOptions setSync(boolean)
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: boolean;
v.<io.vertx.core.file.OpenOptions: boolean sync> = v;
return v;
}
public boolean isDsync()
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v = v.<io.vertx.core.file.OpenOptions: boolean dsync>;
return v;
}
public io.vertx.core.file.OpenOptions setDsync(boolean)
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: boolean;
v.<io.vertx.core.file.OpenOptions: boolean dsync> = v;
return v;
}
public boolean isAppend()
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v = v.<io.vertx.core.file.OpenOptions: boolean append>;
return v;
}
public io.vertx.core.file.OpenOptions setAppend(boolean)
{
io.vertx.core.file.OpenOptions v;
boolean v;
v := @this: io.vertx.core.file.OpenOptions;
v := @parameter: boolean;
v.<io.vertx.core.file.OpenOptions: boolean append> = v;
return v;
}
static void <clinit>()
{
<io.vertx.core.file.OpenOptions: java.lang.String DEFAULT_PERMS> = null;
return;
}
}