//wire-compiler/com.squareup.wire.schema/Target
Target¶
[jvm]\ sealed class Target : Serializable
Functions¶
Name | Summary |
---|---|
copyTarget | [jvm] abstract fun copyTarget(includes: List<String> = this.includes, excludes: List<String> = this.excludes, exclusive: Boolean = this.exclusive, outDirectory: String = this.outDirectory): Target Returns a new Target object that is a copy of this one, but with the given fields updated. |
newHandler | [jvm] abstract fun newHandler(): SchemaHandler |
Properties¶
Name | Summary |
---|---|
excludes | [jvm] abstract val excludes: List<String> Proto types to excluded generated sources for. Types listed here will not be generated for this target. |
exclusive | [jvm] abstract val exclusive: Boolean True if types emitted for this target should not also be emitted for other targets. Use this to cause multiple outputs to be emitted for the same input type. |
includes | [jvm] abstract val includes: List<String> Proto types to include generated sources for. Types listed here will be generated for this target and not for subsequent targets in the task. |
outDirectory | [jvm] abstract val outDirectory: String Directory where this target will write its output. |
Inheritors¶
Name |
---|
JavaTarget |
KotlinTarget |
SwiftTarget |
ProtoTarget |
CustomTarget |