core/MetacelloAllowProjectDowngrade.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 18 Sep 2012 18:24:44 +0000
changeset 16 25ac697dc747
parent 14 f01fe37493e9
permissions -rw-r--r--
- Updated from branch master

"{ Package: 'stx:goodies/metacello/core' }"

MetacelloResolveProjectUpgrade subclass:#MetacelloAllowProjectDowngrade
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Metacello-Core-Scripts'
!


!MetacelloAllowProjectDowngrade methodsFor:'accessing'!

operationString
    ^ 'downgrade'
! !

!MetacelloAllowProjectDowngrade methodsFor:'handlers'!

handleOnDownGrade: onDownGradeBlock onUpgrade: onUpgradeBlock
    ^ onDownGradeBlock cull: self cull: self existingProjectRegistration cull: self newProjectRegistration
!

handleResolutionFor: aScriptEngine
    ^ aScriptEngine handleDowngrade: self
! !

!MetacelloAllowProjectDowngrade class methodsFor:'documentation'!

version_SVN
    ^ '$Id::                                                                                                                        $'
! !