mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-3227 Simple rules tests. (#1236) [tas]
* ACS-3227 Initial tests for POST rules API. * ACS-3227 Add sanity tests for getting created rules. * Update license header year.
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
package org.alfresco.rest.api.model.rules;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
@@ -104,6 +106,12 @@ public class Rule
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
// TODO: Added stub for actions as it's a required field. Replace this implementation when we implement support for actions.
|
||||
public List<Void> getActions()
|
||||
{
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
|
Reference in New Issue
Block a user