Class StaticDependenciesParticipantReference
java.lang.Object
com._1c.g5.v8.dt.internal.lifecycle.StaticDependenciesParticipantReference
- All Implemented Interfaces:
ILifecyclePhaseParticipantReference
public final class StaticDependenciesParticipantReference
extends Object
implements ILifecyclePhaseParticipantReference
The
ILifecyclePhaseParticipantReference implementation for participants with static dependencies.-
Constructor Summary
ConstructorsConstructorDescriptionStaticDependenciesParticipantReference(String serviceName, ILifecyclePhaseParticipant participant, Collection<String> dependencies) Creates participant reference with static dependencies -
Method Summary
Modifier and TypeMethodDescriptionReturns the dependencies of the participant represented by services names.Returns the participant itself.Returns the service name the participant relates to.toString()
-
Constructor Details
-
StaticDependenciesParticipantReference
public StaticDependenciesParticipantReference(String serviceName, ILifecyclePhaseParticipant participant, Collection<String> dependencies) Creates participant reference with static dependencies- Parameters:
serviceName- the name of the lifecycle service, cannot benull.participant- the lifecycle phase participant, cannot benull.dependencies- the collection of dependencies that is presented by services names, cannot benull.- Throws:
IllegalArgumentException- if one of the specified arguments doesn't satisfy its requirements.
-
-
Method Details
-
getServiceName
Description copied from interface:ILifecyclePhaseParticipantReferenceReturns the service name the participant relates to.- Specified by:
getServiceNamein interfaceILifecyclePhaseParticipantReference- Returns:
- the service name, never
null.
-
getParticipant
Description copied from interface:ILifecyclePhaseParticipantReferenceReturns the participant itself.- Specified by:
getParticipantin interfaceILifecyclePhaseParticipantReference- Returns:
- the participant, never
null.
-
getDependencies
Description copied from interface:ILifecyclePhaseParticipantReferenceReturns the dependencies of the participant represented by services names.- Specified by:
getDependenciesin interfaceILifecyclePhaseParticipantReference- Returns:
- the dependencies, never
null.
-
toString
-