The resolutory measure may be nominal, conditional or custody. Conditional or custody measures shall include provisions regarding term of duration pursuant to § 2227 of this title and the foundation that upholds them. The court shall take into consideration criteria which allow for individualization of the needs of the minor.