@InterfaceAudience.Private @InterfaceStability.Unstable public class FSAction extends Node implements HasAttributes
FSActionBuilder.
The properties of the builder can only be set once, an attempt to set them a second time will trigger
an IllegalStateException.
Builder instances can be used to build several elements, although properties already set cannot be changed after
a call to FSActionBuilder.build() either.Node.NodeWithCondition| Modifier and Type | Method and Description |
|---|---|
ActionAttributes |
getAttributes() |
List<Chgrp> |
getChgrps()
Returns the
Chgrp objects that specify the directories or files the owner / group of which will be changed
and to what when running this action. |
List<Chmod> |
getChmods()
Returns the
Chmod objects that specify the directories or files the permission of which will be changed
and to what when running this action. |
String |
getConfigProperty(String property)
Returns the value associated with the provided configuration property name.
|
Map<String,String> |
getConfiguration()
Returns all configuration properties of this
FSAction as a map. |
List<Delete> |
getDeletes()
Returns the
Delete objects that specify which directories or files will be deleted when running this action. |
List<String> |
getJobXmls()
Returns the list of job XMLs used by this
FSAction. |
List<Mkdir> |
getMkdirs()
Returns the
Mkdir objects that specify which directories will be created when running this action. |
List<Move> |
getMoves()
Returns the
Move objects that specify which directories or files will be moved and where when running this action. |
String |
getNameNode()
Returns the name node used by this
FSAction. |
List<Touchz> |
getTouchzs()
Returns the
Touchz objects that specify which files will be touched when running this action. |
getAllChildren, getAllParents, getChildrenWithConditions, getChildrenWithoutConditions, getCredentials, getDefaultConditionalChild, getErrorHandler, getName, getParentsWithConditions, getParentsWithoutConditions, getRetryInterval, getRetryMax, getRetryPolicypublic String getNameNode()
FSAction.FSAction.public List<String> getJobXmls()
FSAction.FSAction.public String getConfigProperty(String property)
property - The name of the configuration property for which the value will be returned.public Map<String,String> getConfiguration()
FSAction as a map.FSAction as a map.public List<Delete> getDeletes()
Delete objects that specify which directories or files will be deleted when running this action.Delete objects that specify which directories or files will be deleted when running this action.public List<Mkdir> getMkdirs()
Mkdir objects that specify which directories will be created when running this action.Mkdir objects that specify which directories will be created when running this action.public List<Move> getMoves()
Move objects that specify which directories or files will be moved and where when running this action.Move objects that specify which directories or files will be moved and where when running this action.public List<Chmod> getChmods()
Chmod objects that specify the directories or files the permission of which will be changed
and to what when running this action.Chmod objects that specify the directories or files the permission of which will be changed
and to what when running this action.public List<Touchz> getTouchzs()
Touchz objects that specify which files will be touched when running this action.Touchz objects that specify which files will be touched when running this action.public List<Chgrp> getChgrps()
Chgrp objects that specify the directories or files the owner / group of which will be changed
and to what when running this action.Chgrp objects that specify the directories or files the owner / group of which will be changed
and to what when running this action.public ActionAttributes getAttributes()
getAttributes in interface HasAttributesCopyright © 2021 Apache Software Foundation. All rights reserved.