FileProperty.FilePBuilder
, MethodProperty.MethodPBuilder
, TypeProperty.TypePBuilder
public abstract class SinglePackagedPropertyBuilder<V,T extends SinglePackagedPropertyBuilder<V,T>> extends SingleValuePropertyBuilder<V,T>
Modifier and Type | Field | Description |
---|---|---|
protected java.lang.String[] |
legalPackageNames |
description, isDefinedInXML, name, uiOrder
defaultValue
Constructor | Description |
---|---|
SinglePackagedPropertyBuilder(java.lang.String name) |
Modifier and Type | Method | Description |
---|---|---|
T |
legalPackageNames(java.lang.String... packs) |
Specify the allowed package prefixes.
|
T |
legalPackageNames(java.util.Collection<java.lang.String> packs) |
Specify the allowed package prefixes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, desc, uiOrder
defaultValue
public SinglePackagedPropertyBuilder(java.lang.String name)
public T legalPackageNames(java.lang.String... packs)
packs
- The package prefixespublic T legalPackageNames(java.util.Collection<java.lang.String> packs)
packs
- The package prefixesCopyright © 2002–2018 PMD. All rights reserved.