Sha256: 08eb824f1858c81ffc38412cabbfcd98456304440dfcdedab40ef213bcff4848

Contents?: true

Size: 547 Bytes

Versions: 9

Compression:

Stored size: 547 Bytes

Contents

class Service {
	installed is false
	running is false

	procedure install {
		conditions {
			this.installed is false
		}
		effects {
			this.installed is true
		}
	}
	procedure uninstall {
		conditions {
			this.installed is true
		}
		effects {
			this.installed is false
		}
	}

	procedure start {
		conditions {
			this.installed is true
			this.running is false
		}
		effects {
			this.running is true
		}
	}
	procedure stop {
		conditions {
			this.installed is true
			this.running is true
		}
		effects {
			this.running is false
		}
	}
}

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
sfplanner-0.2.4 test/test3.inc
sfplanner-0.2.3 test/test3.inc
sfplanner-0.2.1 test/test3.inc
sfplanner-0.1.5 test/test3.inc
sfp-0.2.1 test/test3.inc
sfp-0.2.0 test/test3.inc
sfp-0.1.3 test/test3.inc
sfp-0.1.1 test/test2.inc
sfp-0.1.0 test/test2.inc