public final class Properties extends Object implements Serializable, Cloneable
jsl:Properties
of job XML element type.Modifier and Type | Method and Description |
---|---|
protected Properties |
clone() |
String |
get(String name)
Gets the value of a property by its name.
|
String |
getPartition()
Gets the partition index of this
org.jberet.job.model.Properties . |
int |
size()
Gets the size of this
org.jberet.job.model.Properties , i.e., how many entries this properties contains. |
static Properties |
toJavaUtilProperties(Properties p)
Converts an instance of this type of properties to
java.util.Properties . |
public String get(String name)
name
- property namepublic String getPartition()
org.jberet.job.model.Properties
. The partition index is only applicable
when this org.jberet.job.model.Properties
belongs to a PartitionPlan
, which contains a list of
such properties. In other cases, the partition index value is usually not set.public int size()
org.jberet.job.model.Properties
, i.e., how many entries this properties contains.org.jberet.job.model.Properties
public static Properties toJavaUtilProperties(Properties p)
java.util.Properties
.p
- an instance of org.jberet.job.model.Properties
java.util.Properties
protected Properties clone()
Copyright © 2019 JBoss by Red Hat. All rights reserved.