@@ -0,0 +1,655 @@
+package com.github.aureliano.achmed;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport com.github.aureliano.achmed.resources.IResource;%0A%0Apublic class Agent %7B%0A%0A%09private List%3CIResource%3E resources;%0A%09%0A%09public Agent() %7B%0A%09%09this.resources = new ArrayList%3CIResource%3E();%0A%09%7D%0A%09%0A%09public Agent addResource(IResource resource) %7B%0A%09%09this.resources.add(resource);%0A%09%09return this;%0A%09%7D%0A%09%0A%09public Agent withResources(List%3CIResource%3E resources) %7B%0A%09%09this.resources = resources;%0A%09%09return this;%0A%09%7D%0A%09%0A%09public List%3CIResource%3E getResources() %7B%0A%09%09return this.resources;%0A%09%7D%0A%09%0A%09public void apply() %7B%0A%09%09throw new UnsupportedOperationException(%22Not implemented exception.%22);%0A%09%7D%0A%7D

Create API agent.