-Given a series of x number (unknown) steps,
-all of which implement the same interface,
-and where the order of the steps is desired to be configurable,
can anyone suggest a good design pattern?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Chain of responsibility is the usual candidate for this sort of thing, coupled with some variation on the inversion of control theme for initial construction of the chain according to the “configured” sequence.