package de.ugoe.cs.quest.plugin.php.eventcore; import de.ugoe.cs.quest.eventcore.IEventTarget; /** *

* Event target for PHP web requests. *

* * @version $Revision: $ $Date: Aug 16, 2012$ * @author 2012, last modified by $Author: sherbold$ */ public class PHPEventTarget implements IEventTarget { /** *

* Id for object serialization. *

*/ private static final long serialVersionUID = 1L; /** *

* Path of the PHP request. *

*/ private String path; /** *

* Constructor. Creates a new PHP event target as the path of the request. *

* * @param path * path of the URI of the event */ public PHPEventTarget(String path) { this.path = path; } /* * (non-Javadoc) * * @see de.ugoe.cs.quest.eventcore.IEventTarget#getPlatform() */ @Override public String getPlatform() { return "PHP"; } /* * (non-Javadoc) * * @see java.lang.Object#toString() */ @Override public String toString() { return path; } }