incubator-imperius-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Wood (JIRA)" <j...@apache.org>
Subject [jira] Created: (IMPERIUS-22) Java List objects as collections not supported?
Date Tue, 24 Feb 2009 13:38:01 GMT
Java List objects as collections not supported?
-----------------------------------------------

                 Key: IMPERIUS-22
                 URL: https://issues.apache.org/jira/browse/IMPERIUS-22
             Project: Imperius
          Issue Type: Bug
            Reporter: David Wood
            Assignee: Bill Stoddard


The following does not parse.  Should it?

Import Class java.util.List:list1;
Strategy Execute_All_Applicable;
Policy 
{
	Condition 
	{  
	   inCollection("1", list1)
	}
	Decision 
	{   
		list.get(1)
	}
}:1;

However, it does parse if you change it to...

Import Class java.util.List:list1;
Strategy Execute_All_Applicable;
Policy 
{
	Condition 
	{  
	   inCollection("1",[ "1", "2" ])
	}
	Decision 
	{   
		list.get(1)
	}
}:1;

Should we be able to pass java List objects as collections?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message