Skip to content

Commit

Permalink
Merge pull request #5925 from pferraro/WFCORE-6764
Browse files Browse the repository at this point in the history
WFCORE-6764 Deprecate static builder methods of PersistentResourceXMLDescription
  • Loading branch information
yersan authored Apr 3, 2024
2 parents aa22a15 + ae981aa commit 25fb183
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,9 @@ public void persistChildren(XMLExtendedStreamWriter writer, ModelNode model) thr
* Creates builder for passed path element
* @param pathElement for which we are creating builder
* @return PersistentResourceXMLBuilder
* @deprecated Use {@link Factory#builder(PathElement)} from {@link #factory(PersistentSubsystemSchema)} instead.
*/
@Deprecated
public static PersistentResourceXMLBuilder builder(final PathElement pathElement) {
return new PersistentResourceXMLBuilder(pathElement);
}
Expand All @@ -536,7 +538,9 @@ public static PersistentResourceXMLBuilder builder(final PathElement pathElement
* @param pathElement for which we are creating builder
* @param namespaceURI xml namespace to use for this resource, usually used for top level elements such as subsystems
* @return PersistentResourceXMLBuilder
* @deprecated Use {@link Factory#builder(PathElement)} from {@link #factory(PersistentSubsystemSchema)} instead.
*/
@Deprecated
public static PersistentResourceXMLBuilder builder(final PathElement pathElement, final String namespaceURI) {
return new PersistentResourceXMLBuilder(pathElement, namespaceURI);
}
Expand All @@ -547,7 +551,9 @@ public static PersistentResourceXMLBuilder builder(final PathElement pathElement
* @param path a subsystem path element
* @param namespace the subsystem namespace
* @return a builder for creating a {@link PersistentResourceXMLDescription}.
* @deprecated Use {@link Factory#builder(PathElement)} from {@link #factory(PersistentSubsystemSchema)} instead.
*/
@Deprecated
public static PersistentResourceXMLBuilder builder(PathElement path, Namespace namespace) {
return new PersistentResourceXMLBuilder(path, namespace.getUri());
}
Expand Down

0 comments on commit 25fb183

Please sign in to comment.