> From: Jay Gillibrand/Irvine/IBM@IBMUS > To: [email protected] > Date: 07/22/2010 05:53 PM > Subject: [oslc-cm] State predicates > Sent by: [email protected] > > I'm looking for clarification on how to use state predicates. I've > only seen an example of them in an email, where it said they could > be used in a query like "oslc_cm:inprogress=true". Is this correct?
That is correct, the primary scenario where this is used is query. > Also, the spec say they should be exposed as read-only properties of > ChangeRequests. I assume they are boolean properties, right? Should > they be included in the default properties of a ChangeRequest (i.e., > no oslc.properties param). Yes, according to the spec they are read-only and Boolean. An example of the usage would be: GET http://example.com/bugs?oslc.where=oslc_cm:inprogress="true" Thanks, Steve Speicher | IBM Rational Software | (919) 254-0645
