Package com.helger.xml.util.thread
Class ThreadDescriptorList
- java.lang.Object
-
- com.helger.xml.util.thread.ThreadDescriptorList
-
- All Implemented Interfaces:
IHasMicroNodeRepresentation
@NotThreadSafe public class ThreadDescriptorList extends Object implements IHasMicroNodeRepresentation
This class contains a list ofThreadDescriptorobjects.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description ThreadDescriptorList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadDescriptorListaddDescriptor(ThreadDescriptor aDescriptor)static ThreadDescriptorListcreateWithAllThreads()com.helger.commons.collection.impl.ICommonsList<ThreadDescriptor>getAllDescriptors()IMicroElementgetAsMicroNode()StringgetAsString()StringgetError()ThreadDescriptorListsetError(String sError)
-
-
-
Method Detail
-
addDescriptor
@Nonnull public ThreadDescriptorList addDescriptor(@Nonnull ThreadDescriptor aDescriptor)
-
getAllDescriptors
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<ThreadDescriptor> getAllDescriptors()
-
setError
@Nonnull public ThreadDescriptorList setError(@Nullable String sError)
-
getAsMicroNode
@Nonnull public IMicroElement getAsMicroNode()
- Specified by:
getAsMicroNodein interfaceIHasMicroNodeRepresentation- Returns:
- this as an
IMicroNode. May not benull.
-
createWithAllThreads
@Nonnull public static ThreadDescriptorList createWithAllThreads()
-
-