class oadd.org.apache.hadoop.security.token.DtUtilShell$Remove extends oadd.org.apache.hadoop.tools.CommandShell$SubCommand
{
public static final java.lang.String REMOVE_USAGE;
public static final java.lang.String CANCEL_USAGE;
private boolean cancel;
final oadd.org.apache.hadoop.security.token.DtUtilShell this$0;
public void <init>(oadd.org.apache.hadoop.security.token.DtUtilShell, boolean)
{
oadd.org.apache.hadoop.security.token.DtUtilShell v;
oadd.org.apache.hadoop.security.token.DtUtilShell$Remove v;
boolean v;
v := @this: oadd.org.apache.hadoop.security.token.DtUtilShell$Remove;
v := @parameter: oadd.org.apache.hadoop.security.token.DtUtilShell;
v := @parameter: boolean;
v.<oadd.org.apache.hadoop.security.token.DtUtilShell$Remove: oadd.org.apache.hadoop.security.token.DtUtilShell this$0> = v;
specialinvoke v.<oadd.org.apache.hadoop.tools.CommandShell$SubCommand: void <init>(oadd.org.apache.hadoop.tools.CommandShell)>(v);
v.<oadd.org.apache.hadoop.security.token.DtUtilShell$Remove: boolean cancel> = 0;
v.<oadd.org.apache.hadoop.security.token.DtUtilShell$Remove: boolean cancel> = v;
return;
}
public boolean validate()
{
org.slf4j.Logger v;
oadd.org.apache.hadoop.io.Text v;
oadd.org.apache.hadoop.security.token.DtUtilShell v;
oadd.org.apache.hadoop.security.token.DtUtilShell$Remove v;
v := @this: oadd.org.apache.hadoop.security.token.DtUtilShell$Remove;
v = v.<oadd.org.apache.hadoop.security.token.DtUtilShell$Remove: oadd.org.apache.hadoop.security.token.DtUtilShell this$0>;
v = v.<oadd.org.apache.hadoop.security.token.DtUtilShell: oadd.org.apache.hadoop.io.Text alias>;
if v != null goto label;
v = <oadd.org.apache.hadoop.security.token.DtUtilShell: org.slf4j.Logger LOG>;
interfaceinvoke v.<org.slf4j.Logger: void error(java.lang.String)>("-alias flag is not optional for remove or cancel");
return 0;
label:
return 1;
}
public void execute() throws java.lang.Exception
{
java.util.Iterator v;
oadd.org.apache.hadoop.io.Text v;
oadd.org.apache.hadoop.security.token.DtUtilShell v, v, v, v;
java.util.ArrayList v;
java.lang.Object v;
oadd.org.apache.hadoop.conf.Configuration v;
java.lang.String v;
oadd.org.apache.hadoop.security.token.DtUtilShell$Remove v;
boolean v, v;
v := @this: oadd.org.apache.hadoop.security.token.DtUtilShell$Remove;
v = v.<oadd.org.apache.hadoop.security.token.DtUtilShell$Remove: oadd.org.apache.hadoop.security.token.DtUtilShell this$0>;
v = v.<oadd.org.apache.hadoop.security.token.DtUtilShell: java.util.ArrayList tokenFiles>;
v = virtualinvoke v.<java.util.ArrayList: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v.<oadd.org.apache.hadoop.security.token.DtUtilShell$Remove: boolean cancel>;
v = v.<oadd.org.apache.hadoop.security.token.DtUtilShell$Remove: oadd.org.apache.hadoop.security.token.DtUtilShell this$0>;
v = v.<oadd.org.apache.hadoop.security.token.DtUtilShell: java.lang.String format>;
v = v.<oadd.org.apache.hadoop.security.token.DtUtilShell$Remove: oadd.org.apache.hadoop.security.token.DtUtilShell this$0>;
v = v.<oadd.org.apache.hadoop.security.token.DtUtilShell: oadd.org.apache.hadoop.io.Text alias>;
v = v.<oadd.org.apache.hadoop.security.token.DtUtilShell$Remove: oadd.org.apache.hadoop.security.token.DtUtilShell this$0>;
v = virtualinvoke v.<oadd.org.apache.hadoop.security.token.DtUtilShell: oadd.org.apache.hadoop.conf.Configuration getConf()>();
staticinvoke <oadd.org.apache.hadoop.security.token.DtFileOperations: void removeTokenFromFile(boolean,java.io.File,java.lang.String,oadd.org.apache.hadoop.io.Text,oadd.org.apache.hadoop.conf.Configuration)>(v, v, v, v, v);
goto label;
label:
return;
}
public java.lang.String getUsage()
{
oadd.org.apache.hadoop.security.token.DtUtilShell$Remove v;
boolean v;
v := @this: oadd.org.apache.hadoop.security.token.DtUtilShell$Remove;
v = v.<oadd.org.apache.hadoop.security.token.DtUtilShell$Remove: boolean cancel>;
if v == 0 goto label;
return "dtutil cancel -alias <alias> [-format (java|protobuf)] filename...";
label:
return "dtutil remove -alias <alias> [-format (java|protobuf)] filename...";
}
}