Hi Jiansen, these are `case object`s in the source, which is translated by the compiler by adding some super-interfaces and methods (like a pretty toString representation). It would indeed be helpful if scaladoc emitted that instead of these traits.
Regards, Roland 7 jun 2014 kl. 17:24 skrev Jiansen <[email protected]>: > From the Akka documentation: > http://doc.akka.io/api/akka/2.1.4/index.html#akka.actor.SupervisorStrategy$$Escalate$ > > sealed trait Directive extends AnyRef > object Escalate extends Directive with Product with Serializable > object Restart extends Directive with Product with Serializable > object Resume extends Directive with Product with Serializable > object Stop extends Directive with Product with Serializable > > In the source code: > https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/actor/FaultHandling.scala#L97 > > sealed trait Directive > case object Resume extends Directive > case object Restart extends Directive > case object Stop extends Directive > case object Escalate extends Directive > > > Why they are different? Are not Akka documentation generated by scala doc? > Why Escalate etc. are Product? > > > > > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. Dr. Roland Kuhn Akka Tech Lead Typesafe – Reactive apps on the JVM. twitter: @rolandkuhn -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
