Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 868449 Details for
Bug 1070662
Unable to extend classes declared outside drl
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Self contained DRL test
outside-extend.drl (text/plain), 499 bytes, created by
Tomas Schlosser
on 2014-02-27 10:30:37 UTC
(
hide
)
Description:
Self contained DRL test
Filename:
MIME Type:
Creator:
Tomas Schlosser
Created:
2014-02-27 10:30:37 UTC
Size:
499 bytes
patch
obsolete
>package com.sample >import java.util.Date >// declare Date >// @some("metadata") >// end >declare MyDate extends Date > timezone : String >end >rule one > when > then > MyDate date = new MyDate(); > date.setTimezone("CET"); > insert(date); >end >rule two > when > $date : Date() > then > System.out.println($date); >end >rule three > when > $date : MyDate($timezone: timezone) > then > System.out.println("It is " + $date + " in " + $timezone); >end >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1070662
: 868449