public class ProtocolTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
ProtocolTask() |
Modifier and Type | Method and Description |
---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Add a fileset.
|
protected void |
doCompile(File src,
File dir) |
void |
execute()
Run the compiler.
|
SpecificCompiler.DateTimeLogicalTypeImplementation |
getDateTimeLogicalTypeImplementation()
Get the date/time logical type type (either JODA or JSR310)
|
GenericData.StringType |
getStringType()
Get the string type.
|
void |
setDateTimeLogicalTypeImplementation(SpecificCompiler.DateTimeLogicalTypeImplementation dateTimeLogicalTypeImplementation)
Sets the date/time logical type type (either JODA or JSR310)
|
void |
setDestdir(File dir)
Set the output directory
|
void |
setFile(File file)
Set the schema file.
|
void |
setStringType(GenericData.StringType type)
Set the string type.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setFile(File file)
public void setDestdir(File dir)
public void setStringType(GenericData.StringType type)
public GenericData.StringType getStringType()
public void setDateTimeLogicalTypeImplementation(SpecificCompiler.DateTimeLogicalTypeImplementation dateTimeLogicalTypeImplementation)
public SpecificCompiler.DateTimeLogicalTypeImplementation getDateTimeLogicalTypeImplementation()
public void addFileset(org.apache.tools.ant.types.FileSet set)
public void execute()
execute
in class org.apache.tools.ant.Task
protected void doCompile(File src, File dir) throws IOException
IOException
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.